#[repr(C)]pub struct CH {
pub cr: Reg<CR_SPEC>,
pub ndtr: Reg<NDTR_SPEC>,
pub par: Reg<PAR_SPEC>,
pub m0ar: Reg<M0AR_SPEC>,
pub m1ar: Reg<M1AR_SPEC>,
}Expand description
Register block
Fields
cr: Reg<CR_SPEC>0x00 - Channel x configuration register
ndtr: Reg<NDTR_SPEC>0x04 - Channel x number of data to transfer register
par: Reg<PAR_SPEC>0x08 - Channel x peripheral address register
m0ar: Reg<M0AR_SPEC>0x0c - Channel x memory 0 address register
m1ar: Reg<M1AR_SPEC>0x10 - Channel x memory 1 address register
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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