Struct volatile_register::RW [] [src]

pub struct RW<T> where
    T: Copy
{ /* fields omitted */ }

Read-Write register

Methods

impl<T> RW<T> where
    T: Copy
[src]

[src]

Performs a read-modify-write operation

NOTE: unsafe because writes to a register are side effectful

[src]

Reads the value of the register

[src]

Writes a value into the register

NOTE: unsafe because writes to a register are side effectful