#[repr(transparent)]pub struct Rrcr0Cmp1(pub u32);Expand description
Round Robin Control Register 0, for CMP1 and CMP2.
Tuple Fields§
§0: u32Implementations§
Source§impl Rrcr0Cmp1
impl Rrcr0Cmp1
Sourcepub const fn rr_trg_sel(&self) -> RrTrgSel
pub const fn rr_trg_sel(&self) -> RrTrgSel
Round-Robin Trigger Select.
Sourcepub const fn set_rr_trg_sel(&mut self, val: RrTrgSel)
pub const fn set_rr_trg_sel(&mut self, val: RrTrgSel)
Round-Robin Trigger Select.
Sourcepub const fn rr_exttrg_sel(&self) -> u8
pub const fn rr_exttrg_sel(&self) -> u8
External trigger source select. CMP0 does not support this field.
Sourcepub const fn set_rr_exttrg_sel(&mut self, val: u8)
pub const fn set_rr_exttrg_sel(&mut self, val: u8)
External trigger source select. CMP0 does not support this field.
Sourcepub const fn set_rr_nsam(&mut self, val: RrNsam)
pub const fn set_rr_nsam(&mut self, val: RrNsam)
Number of Sample Clocks.
Sourcepub const fn rr_clk_sel(&self) -> RrClkSel
pub const fn rr_clk_sel(&self) -> RrClkSel
Round Robin Clock Source Select.
Sourcepub const fn set_rr_clk_sel(&mut self, val: RrClkSel)
pub const fn set_rr_clk_sel(&mut self, val: RrClkSel)
Round Robin Clock Source Select.
Sourcepub const fn rr_initmod(&self) -> RrInitmod
pub const fn rr_initmod(&self) -> RrInitmod
Initialization Delay Modulus.
Sourcepub const fn set_rr_initmod(&mut self, val: RrInitmod)
pub const fn set_rr_initmod(&mut self, val: RrInitmod)
Initialization Delay Modulus.
Sourcepub const fn rr_sample_cnt(&self) -> RrSampleCnt
pub const fn rr_sample_cnt(&self) -> RrSampleCnt
Number of Sample for One Channel.
Sourcepub const fn set_rr_sample_cnt(&mut self, val: RrSampleCnt)
pub const fn set_rr_sample_cnt(&mut self, val: RrSampleCnt)
Number of Sample for One Channel.
Sourcepub const fn rr_sample_threshold(&self) -> RrSampleThreshold
pub const fn rr_sample_threshold(&self) -> RrSampleThreshold
Sample Time Threshold.
Sourcepub const fn set_rr_sample_threshold(&mut self, val: RrSampleThreshold)
pub const fn set_rr_sample_threshold(&mut self, val: RrSampleThreshold)
Sample Time Threshold.
Trait Implementations§
impl Copy for Rrcr0Cmp1
impl Eq for Rrcr0Cmp1
impl StructuralPartialEq for Rrcr0Cmp1
Auto Trait Implementations§
impl Freeze for Rrcr0Cmp1
impl RefUnwindSafe for Rrcr0Cmp1
impl Send for Rrcr0Cmp1
impl Sync for Rrcr0Cmp1
impl Unpin for Rrcr0Cmp1
impl UnwindSafe for Rrcr0Cmp1
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