Struct RegisterBlock
#[repr(C)]pub struct RegisterBlock {Show 26 fields
sc: Sc,
mod_: Mod,
cnt: Cnt,
idly: Idly,
chc1: (),
_reserved5: [u8; 4],
chs: (),
_reserved6: [u8; 4],
chdly0: (),
_reserved7: [u8; 4],
chdly1: (),
_reserved8: [u8; 4],
chdly2: (),
_reserved9: [u8; 4],
chdly3: (),
_reserved10: [u8; 4],
chdly4: (),
_reserved11: [u8; 4],
chdly5: (),
_reserved12: [u8; 4],
chdly6: (),
_reserved13: [u8; 4],
chdly7: (),
_reserved14: [u8; 348],
poen: Poen,
_reserved_15_dly1: [u8; 4],
}Expand description
Register block
Fields§
§sc: Sc§mod_: Mod§cnt: Cnt§idly: Idly§chc1: ()§_reserved5: [u8; 4]§chs: ()§_reserved6: [u8; 4]§chdly0: ()§_reserved7: [u8; 4]§chdly1: ()§_reserved8: [u8; 4]§chdly2: ()§_reserved9: [u8; 4]§chdly3: ()§_reserved10: [u8; 4]§chdly4: ()§_reserved11: [u8; 4]§chdly5: ()§_reserved12: [u8; 4]§chdly6: ()§_reserved13: [u8; 4]§chdly7: ()§_reserved14: [u8; 348]§poen: Poen§_reserved_15_dly1: [u8; 4]Implementations§
§impl RegisterBlock
impl RegisterBlock
pub fn chc1_iter(&self) -> impl Iterator<Item = &Chc1>
pub fn chc1_iter(&self) -> impl Iterator<Item = &Chc1>
Iterator for array of: 0x10..0x1c - Channel n Control register 1
pub fn chs_iter(&self) -> impl Iterator<Item = &Chs>
pub fn chs_iter(&self) -> impl Iterator<Item = &Chs>
Iterator for array of: 0x14..0x20 - Channel n Status register
pub fn chdly0_iter(&self) -> impl Iterator<Item = &Chdly0>
pub fn chdly0_iter(&self) -> impl Iterator<Item = &Chdly0>
Iterator for array of: 0x18..0x24 - Channel n Delay 0 register
pub fn chdly1_iter(&self) -> impl Iterator<Item = &Chdly1>
pub fn chdly1_iter(&self) -> impl Iterator<Item = &Chdly1>
Iterator for array of: 0x1c..0x28 - Channel n Delay 1 register
pub fn chdly2_iter(&self) -> impl Iterator<Item = &Chdly2>
pub fn chdly2_iter(&self) -> impl Iterator<Item = &Chdly2>
Iterator for array of: 0x20..0x2c - Channel n Delay 2 register
pub fn chdly3_iter(&self) -> impl Iterator<Item = &Chdly3>
pub fn chdly3_iter(&self) -> impl Iterator<Item = &Chdly3>
Iterator for array of: 0x24..0x30 - Channel n Delay 3 register
pub fn chdly4_iter(&self) -> impl Iterator<Item = &Chdly4>
pub fn chdly4_iter(&self) -> impl Iterator<Item = &Chdly4>
Iterator for array of: 0x28..0x34 - Channel n Delay 4 register
pub fn chdly5_iter(&self) -> impl Iterator<Item = &Chdly5>
pub fn chdly5_iter(&self) -> impl Iterator<Item = &Chdly5>
Iterator for array of: 0x2c..0x38 - Channel n Delay 5 register
pub fn chdly6_iter(&self) -> impl Iterator<Item = &Chdly6>
pub fn chdly6_iter(&self) -> impl Iterator<Item = &Chdly6>
Iterator for array of: 0x30..0x3c - Channel n Delay 6 register
pub fn chdly7_iter(&self) -> impl Iterator<Item = &Chdly7>
pub fn chdly7_iter(&self) -> impl Iterator<Item = &Chdly7>
Iterator for array of: 0x34..0x40 - Channel n Delay 7 register
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