Struct Timxcr2
#[repr(transparent)]pub struct Timxcr2(pub u32);Expand description
HRTIM Timer X Control Register 2
Tuple Fields§
§0: u32Implementations§
§impl Timxcr2
impl Timxcr2
pub fn set_outrom(&mut self, val: u8)
pub fn set_outrom(&mut self, val: u8)
Output Roll-Over Mode
pub fn set_gtcmp1(&mut self, val: bool)
pub fn set_gtcmp1(&mut self, val: bool)
Greater than Compare 1 PWM mode
pub fn set_gtcmp3(&mut self, val: bool)
pub fn set_gtcmp3(&mut self, val: bool)
Greater than Compare 3 PWM mode
pub fn set_trghlf(&mut self, val: bool)
pub fn set_trghlf(&mut self, val: bool)
Triggered-half mode
Trait Implementations§
impl Copy for Timxcr2
impl Eq for Timxcr2
impl StructuralPartialEq for Timxcr2
Auto Trait Implementations§
impl Freeze for Timxcr2
impl RefUnwindSafe for Timxcr2
impl Send for Timxcr2
impl Sync for Timxcr2
impl Unpin for Timxcr2
impl UnwindSafe for Timxcr2
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