#[repr(transparent)]pub struct Rrcr0(pub u32);Expand description
Round Robin Control Register 0
Tuple Fields§
§0: u32Implementations§
Source§impl Rrcr0
impl Rrcr0
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 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 Rrcr0
impl Eq for Rrcr0
impl StructuralPartialEq for Rrcr0
Auto Trait Implementations§
impl Freeze for Rrcr0
impl RefUnwindSafe for Rrcr0
impl Send for Rrcr0
impl Sync for Rrcr0
impl Unpin for Rrcr0
impl UnwindSafe for Rrcr0
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