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]

Performs a read-modify-write operation

NOTE: unsafe because writes to a register are side effectful

Reads the value of the register

Writes a value into the register

NOTE: unsafe because writes to a register are side effectful

Auto Trait Implementations

impl<T> Send for RW<T> where
    T: Send

impl<T> !Sync for RW<T>