pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub fn tctrl_iter(&self) -> impl Iterator<Item = &Tctrl>
pub fn tctrl_iter(&self) -> impl Iterator<Item = &Tctrl>
Iterator for array of: 0xa0..0xb0 - Trigger Control Register
Sourcepub const fn cv(&self, n: usize) -> &Cv
pub const fn cv(&self, n: usize) -> &Cv
0x200..0x21c - Compare Value Register
`n` is the index of register in the array. `n == 0` corresponds to `CV1` register.
Sourcepub fn cv_iter(&self) -> impl Iterator<Item = &Cv>
pub fn cv_iter(&self) -> impl Iterator<Item = &Cv>
Iterator for array of: 0x200..0x21c - Compare Value Register
Sourcepub const fn cal_gar(&self, n: usize) -> &CalGar
pub const fn cal_gar(&self, n: usize) -> &CalGar
0x400..0x488 - Calibration General A-Side Registers
Sourcepub fn cal_gar_iter(&self) -> impl Iterator<Item = &CalGar>
pub fn cal_gar_iter(&self) -> impl Iterator<Item = &CalGar>
Iterator for array of: 0x400..0x488 - Calibration General A-Side Registers
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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