#[repr(C)]pub struct CH {
pub cr: Reg<CR_SPEC>,
pub ndtr: Reg<NDTR_SPEC>,
pub par: Reg<PAR_SPEC>,
pub mar: Reg<MAR_SPEC>,
}
Expand description
Register block
Fields
cr: Reg<CR_SPEC>
0x00 - DMA channel configuration register (DMA_CCR)
ndtr: Reg<NDTR_SPEC>
0x04 - DMA channel 1 number of data register
par: Reg<PAR_SPEC>
0x08 - DMA channel 1 peripheral address register
mar: Reg<MAR_SPEC>
0x0c - DMA channel 1 memory address register
Auto Trait Implementations
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