#[repr(transparent)]pub struct Rrcr0Base(pub u32);Expand description
Round Robin Control Register 0.
Tuple Fields§
§0: u32Implementations§
Source§impl Rrcr0Base
impl Rrcr0Base
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) -> u8
pub const fn rr_initmod(&self) -> u8
Initialization delay in round-robin clock cycles. Encodings 1 through 63 select that many cycles; zero also selects 63 cycles.
Sourcepub const fn set_rr_initmod(&mut self, val: u8)
pub const fn set_rr_initmod(&mut self, val: u8)
Initialization delay in round-robin clock cycles. Encodings 1 through 63 select that many cycles; zero also selects 63 cycles.
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 Rrcr0Base
impl Eq for Rrcr0Base
impl StructuralPartialEq for Rrcr0Base
Auto Trait Implementations§
impl Freeze for Rrcr0Base
impl RefUnwindSafe for Rrcr0Base
impl Send for Rrcr0Base
impl Sync for Rrcr0Base
impl Unpin for Rrcr0Base
impl UnwindSafe for Rrcr0Base
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