#[repr(C)]pub struct RegisterBlock {
pub isr: Reg<ISR_SPEC>,
pub ifcr: Reg<IFCR_SPEC>,
pub ch1: CH,
pub ch2: CH,
pub ch3: CH,
pub ch4: CH,
pub ch5: CH,
/* private fields */
}
Expand description
Register block
Fields
isr: Reg<ISR_SPEC>
0x00 - low interrupt status register
ifcr: Reg<IFCR_SPEC>
0x04 - high interrupt status register
ch1: CH
0x08..0x18 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch2: CH
0x1c..0x2c - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch3: CH
0x30..0x40 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch4: CH
0x44..0x54 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
ch5: CH
0x58..0x68 - Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more