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 const fn set_outrom(&mut self, val: Rom)
pub const fn set_outrom(&mut self, val: Rom)
Output roll-over mode.
pub const fn set_gtcmp1(&mut self, val: bool)
pub const fn set_gtcmp1(&mut self, val: bool)
Greater than compare 1 PWM mode.
pub const fn set_gtcmp3(&mut self, val: bool)
pub const fn set_gtcmp3(&mut self, val: bool)
Greater than compare 3 PWM mode.
pub const fn set_trghlf(&mut self, val: bool)
pub const fn set_trghlf(&mut self, val: bool)
Triggered-half mode.
pub const fn set_trghlft(&mut self, val: bool)
pub const fn set_trghlft(&mut self, val: bool)
Triggered-half timeout mode.
pub const fn set_adctrgch1(&mut self, val: bool)
pub const fn set_adctrgch1(&mut self, val: bool)
ADC trigger for channel 1.
pub const fn set_adctrgch2(&mut self, val: bool)
pub const fn set_adctrgch2(&mut self, val: bool)
ADC trigger for channel 2.
pub const fn set_dcdcoe(&mut self, val: bool)
pub const fn set_dcdcoe(&mut self, val: bool)
Dual channel DAC crossbar override enable.
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 UnsafeUnpin 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