#[repr(C)]pub struct RegisterBlock {
pub isr: ISR,
pub ifcr: IFCR,
pub ch: [CH; 7],
}Expand description
Register block
Fields§
§isr: ISR0x00 - desc ISR
ifcr: IFCR0x04 - desc IFCR
ch: [CH; 7]0x08..0x94 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub fn ch1(&self) -> &CH
pub fn ch1(&self) -> &CH
0x08..0x1c - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
Sourcepub fn ch2(&self) -> &CH
pub fn ch2(&self) -> &CH
0x1c..0x30 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
Sourcepub fn ch3(&self) -> &CH
pub fn ch3(&self) -> &CH
0x30..0x44 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
Sourcepub fn ch4(&self) -> &CH
pub fn ch4(&self) -> &CH
0x44..0x58 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
Sourcepub fn ch5(&self) -> &CH
pub fn ch5(&self) -> &CH
0x58..0x6c - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? 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