pub struct RegisterBlock {Show 22 fields
pub stat: STAT,
pub cfg: CFG,
pub ctlbase: CTLBASE,
pub altbase: ALTBASE,
pub waitstat: WAITSTAT,
pub swreq: SWREQ,
pub useburstset: USEBURSTSET,
pub useburstclr: USEBURSTCLR,
pub reqmaskset: REQMASKSET,
pub reqmaskclr: REQMASKCLR,
pub enaset: ENASET,
pub enaclr: ENACLR,
pub altset: ALTSET,
pub altclr: ALTCLR,
pub prioset: PRIOSET,
pub prioclr: PRIOCLR,
pub errclr: ERRCLR,
pub chasgn: CHASGN,
pub chmap0: CHMAP0,
pub chmap1: CHMAP1,
pub chmap2: CHMAP2,
pub chmap3: CHMAP3,
/* private fields */
}Expand description
Register block
Fields§
§stat: STAT0x00 - DMA Status
cfg: CFG0x04 - DMA Configuration
ctlbase: CTLBASE0x08 - DMA Channel Control Base Pointer
altbase: ALTBASE0x0c - DMA Alternate Channel Control Base Pointer
waitstat: WAITSTAT0x10 - DMA Channel Wait-on-Request Status
swreq: SWREQ0x14 - DMA Channel Software Request
useburstset: USEBURSTSET0x18 - DMA Channel Useburst Set
useburstclr: USEBURSTCLR0x1c - DMA Channel Useburst Clear
reqmaskset: REQMASKSET0x20 - DMA Channel Request Mask Set
reqmaskclr: REQMASKCLR0x24 - DMA Channel Request Mask Clear
enaset: ENASET0x28 - DMA Channel Enable Set
enaclr: ENACLR0x2c - DMA Channel Enable Clear
altset: ALTSET0x30 - DMA Channel Primary Alternate Set
altclr: ALTCLR0x34 - DMA Channel Primary Alternate Clear
prioset: PRIOSET0x38 - DMA Channel Priority Set
prioclr: PRIOCLR0x3c - DMA Channel Priority Clear
errclr: ERRCLR0x4c - DMA Bus Error Clear
chasgn: CHASGN0x500 - DMA Channel Assignment
chmap0: CHMAP00x510 - DMA Channel Map Select 0
chmap1: CHMAP10x514 - DMA Channel Map Select 1
chmap2: CHMAP20x518 - DMA Channel Map Select 2
chmap3: CHMAP30x51c - DMA Channel Map Select 3
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