[−][src]Trait ral::Register
Associated Types
type RegisterType: Register
type ValueType: Copy + Not<Output = Self::ValueType> + BitAnd<Output = Self::ValueType> + BitOr<Output = Self::ValueType>
Associated Constants
const MASK: Self::ValueType
const RESET_VALUE: Self::ValueType
Required methods
fn get_bits(&self) -> Self::ValueType
Get value of the register as raw bits
fn set_bits(&mut self, bits: Self::ValueType) -> &mut Self::RegisterType
Set value of the register as raw bits
fn reset(&mut self) -> &mut Self::RegisterType
Reset value of the register to default
fn read(&mut self) -> &mut Self::RegisterType
Loads value from the register
fn write(&mut self) -> &mut Self::RegisterType
Writes value to the register