volatile_register
pub struct RW<T> { /* fields omitted */ }
Read-Write register
impl<T> RW<T> where T: Copy
fn read(&self) -> T
Uninterruptible if T is a word, halfword or byte
T
fn write(&mut self, value: T)
fn modify<F>(&mut self, func: F) where F: FnOnce(T) -> T
Perform a read-modify-write, using func to perform the modification.
func