#[repr(C)]pub struct CH {Show 13 fields
pub isr: Reg<ISR_SPEC>,
pub ifcr: Reg<IFCR_SPEC>,
pub esr: Reg<ESR_SPEC>,
pub cr: Reg<CR_SPEC>,
pub tcr: Reg<TCR_SPEC>,
pub bndtr: Reg<BNDTR_SPEC>,
pub sar: Reg<SAR_SPEC>,
pub dar: Reg<DAR_SPEC>,
pub brur: Reg<BRUR_SPEC>,
pub lar: Reg<LAR_SPEC>,
pub tbr: Reg<TBR_SPEC>,
pub mar: Reg<MAR_SPEC>,
pub mdr: Reg<MDR_SPEC>,
/* private fields */
}Expand description
Register block
Fields
isr: Reg<ISR_SPEC>0x00 - MDMA channel x interrupt/status register
ifcr: Reg<IFCR_SPEC>0x04 - MDMA channel x interrupt flag clear register
esr: Reg<ESR_SPEC>0x08 - MDMA Channel x error status register
cr: Reg<CR_SPEC>0x0c - This register is used to control the concerned channel.
tcr: Reg<TCR_SPEC>0x10 - This register is used to configure the concerned channel.
bndtr: Reg<BNDTR_SPEC>0x14 - MDMA Channel x block number of data register
sar: Reg<SAR_SPEC>0x18 - MDMA channel x source address register
dar: Reg<DAR_SPEC>0x1c - MDMA channel x destination address register
brur: Reg<BRUR_SPEC>0x20 - MDMA channel x Block Repeat address Update register
lar: Reg<LAR_SPEC>0x24 - MDMA channel x Link Address register
tbr: Reg<TBR_SPEC>0x28 - MDMA channel x Trigger and Bus selection Register
mar: Reg<MAR_SPEC>0x30 - MDMA channel x Mask address register
mdr: Reg<MDR_SPEC>0x34 - MDMA channel x Mask Data 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