#[repr(transparent)]pub struct Imr(pub u16);Expand description
Input Monitor Register. Input-dependent pin states: the table default zero is not a guaranteed observed hardware reset value without defined input levels.
Tuple Fields§
§0: u16Implementations§
Source§impl Imr
impl Imr
Sourcepub const fn home_enable(&self) -> bool
pub const fn home_enable(&self) -> bool
HOME_ENABLE.
Sourcepub const fn set_home_enable(&mut self, val: bool)
pub const fn set_home_enable(&mut self, val: bool)
HOME_ENABLE.
Sourcepub const fn index_preset(&self) -> bool
pub const fn index_preset(&self) -> bool
INDEX_PRESET.
Sourcepub const fn set_index_preset(&mut self, val: bool)
pub const fn set_index_preset(&mut self, val: bool)
INDEX_PRESET.
Sourcepub const fn fhom_ena(&self) -> bool
pub const fn fhom_ena(&self) -> bool
filter operation on HOME/ENABLE input. Read shows the filtered input; writing one bypasses that input filter. Read and write meanings differ.
Sourcepub const fn set_fhom_ena(&mut self, val: bool)
pub const fn set_fhom_ena(&mut self, val: bool)
filter operation on HOME/ENABLE input. Read shows the filtered input; writing one bypasses that input filter. Read and write meanings differ.
Sourcepub const fn find_pre(&self) -> bool
pub const fn find_pre(&self) -> bool
filter operation on INDEX/PRESET input. Read shows the filtered input; writing one bypasses that input filter. Read and write meanings differ.
Sourcepub const fn set_find_pre(&mut self, val: bool)
pub const fn set_find_pre(&mut self, val: bool)
filter operation on INDEX/PRESET input. Read shows the filtered input; writing one bypasses that input filter. Read and write meanings differ.
Sourcepub const fn fphb(&self) -> bool
pub const fn fphb(&self) -> bool
filter operation on PHASEB input. Read shows the filtered input; writing one bypasses that input filter. Read and write meanings differ.
Sourcepub const fn set_fphb(&mut self, val: bool)
pub const fn set_fphb(&mut self, val: bool)
filter operation on PHASEB input. Read shows the filtered input; writing one bypasses that input filter. Read and write meanings differ.
Sourcepub const fn fpha(&self) -> bool
pub const fn fpha(&self) -> bool
filter operation on PHASEA input. Read shows the filtered input; writing one bypasses that input filter. Read and write meanings differ.
Sourcepub const fn set_fpha(&mut self, val: bool)
pub const fn set_fpha(&mut self, val: bool)
filter operation on PHASEA input. Read shows the filtered input; writing one bypasses that input filter. Read and write meanings differ.
Sourcepub const fn cmpf0(&self) -> bool
pub const fn cmpf0(&self) -> bool
Position Compare 0 Flag Output. Raw bit values: false (0) = Cmpf00: When the position counter is less than value of COMP0 register.; true (1) = Cmpf01: When the position counter is greater or equal than value of COMP0 register.
Sourcepub const fn set_cmpf0(&mut self, val: bool)
pub const fn set_cmpf0(&mut self, val: bool)
Position Compare 0 Flag Output. Raw bit values: false (0) = Cmpf00: When the position counter is less than value of COMP0 register.; true (1) = Cmpf01: When the position counter is greater or equal than value of COMP0 register.
Sourcepub const fn cmp1f(&self) -> bool
pub const fn cmp1f(&self) -> bool
Position Compare1 Flag Output. Raw bit values: false (0) = Cmp1f0: When the position counter is less than value of COMP1 register.; true (1) = Cmp1f1: When the position counter is greater or equal than value of COMP1 register.
Sourcepub const fn set_cmp1f(&mut self, val: bool)
pub const fn set_cmp1f(&mut self, val: bool)
Position Compare1 Flag Output. Raw bit values: false (0) = Cmp1f0: When the position counter is less than value of COMP1 register.; true (1) = Cmp1f1: When the position counter is greater or equal than value of COMP1 register.
Sourcepub const fn cmp2f(&self) -> bool
pub const fn cmp2f(&self) -> bool
Position Compare2 Flag Output. Raw bit values: false (0) = Cmp2f0: When the position counter is less than value of COMP2 register.; true (1) = Cmp2f1: When the position counter is greater or equal than value of COMP2 register.
Sourcepub const fn set_cmp2f(&mut self, val: bool)
pub const fn set_cmp2f(&mut self, val: bool)
Position Compare2 Flag Output. Raw bit values: false (0) = Cmp2f0: When the position counter is less than value of COMP2 register.; true (1) = Cmp2f1: When the position counter is greater or equal than value of COMP2 register.
Sourcepub const fn cmp3f(&self) -> bool
pub const fn cmp3f(&self) -> bool
Position Compare3 Flag Output. Raw bit values: false (0) = Cmp3f0: When the position counter value is less than value of COMP3 register.; true (1) = Cmp3f1: When the position counter is greater or equal than value of COMP3 register.
Sourcepub const fn set_cmp3f(&mut self, val: bool)
pub const fn set_cmp3f(&mut self, val: bool)
Position Compare3 Flag Output. Raw bit values: false (0) = Cmp3f0: When the position counter value is less than value of COMP3 register.; true (1) = Cmp3f1: When the position counter is greater or equal than value of COMP3 register.