Struct Or
#[repr(transparent)]pub struct Or(pub u32);Expand description
LPTIM option register.
Tuple Fields§
§0: u32Implementations§
§impl Or
impl Or
pub const fn or(&self, n: usize) -> bool
pub const fn or(&self, n: usize) -> bool
Input x remap (INx[0]). 0 input x connected to the I/O, 1 input x connected to the comparator output selected by IN_EXT[x].
pub const fn set_or(&mut self, n: usize, val: bool)
pub const fn set_or(&mut self, n: usize, val: bool)
Input x remap (INx[0]). 0 input x connected to the I/O, 1 input x connected to the comparator output selected by IN_EXT[x].
pub const fn in_ext(&self, n: usize) -> u8
pub const fn in_ext(&self, n: usize) -> u8
Input x remap extension (INx[2:1]). Input 1 00 COMP1, 01 COMP3, 10 COMP5, 11 COMP7. Input 2 00 COMP2, 01 COMP4, 10 COMP6, 11 COMP6.
pub const fn set_in_ext(&mut self, n: usize, val: u8)
pub const fn set_in_ext(&mut self, n: usize, val: u8)
Input x remap extension (INx[2:1]). Input 1 00 COMP1, 01 COMP3, 10 COMP5, 11 COMP7. Input 2 00 COMP2, 01 COMP4, 10 COMP6, 11 COMP6.
Trait Implementations§
impl Copy for Or
impl Eq for Or
impl StructuralPartialEq for Or
Auto Trait Implementations§
impl Freeze for Or
impl RefUnwindSafe for Or
impl Send for Or
impl Sync for Or
impl Unpin for Or
impl UnsafeUnpin for Or
impl UnwindSafe for Or
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more