Struct avr_mcu::Register
[−]
[src]
pub struct Register {
pub name: String,
pub caption: String,
pub offset: u32,
pub size: u32,
pub mask: Option<u32>,
}An CPU or IO register.
Fields
name: String
caption: String
offset: u32
size: u32
mask: Option<u32>
Methods
impl Register[src]
fn union(&self, with: &Self) -> Self
Get the union between two descriptions of the same register.
Trait Implementations
impl Clone for Register[src]
fn clone(&self) -> Register
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Register[src]
impl PartialOrd for Register[src]
fn partial_cmp(&self, __arg_0: &Register) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &Register) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &Register) -> bool
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &Register) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &Register) -> bool
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more