Struct atsamd51g::dmac::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 16 fields
pub ctrl: Reg<CTRL_SPEC>,
pub crcctrl: Reg<CRCCTRL_SPEC>,
pub crcdatain: Reg<CRCDATAIN_SPEC>,
pub crcchksum: Reg<CRCCHKSUM_SPEC>,
pub crcstatus: Reg<CRCSTATUS_SPEC>,
pub dbgctrl: Reg<DBGCTRL_SPEC>,
pub swtrigctrl: Reg<SWTRIGCTRL_SPEC>,
pub prictrl0: Reg<PRICTRL0_SPEC>,
pub intpend: Reg<INTPEND_SPEC>,
pub intstatus: Reg<INTSTATUS_SPEC>,
pub busych: Reg<BUSYCH_SPEC>,
pub pendch: Reg<PENDCH_SPEC>,
pub active: Reg<ACTIVE_SPEC>,
pub baseaddr: Reg<BASEADDR_SPEC>,
pub wrbaddr: Reg<WRBADDR_SPEC>,
pub channel: [CHANNEL; 32],
/* private fields */
}Expand description
Register block
Fields
ctrl: Reg<CTRL_SPEC>0x00 - Control
crcctrl: Reg<CRCCTRL_SPEC>0x02 - CRC Control
crcdatain: Reg<CRCDATAIN_SPEC>0x04 - CRC Data Input
crcchksum: Reg<CRCCHKSUM_SPEC>0x08 - CRC Checksum
crcstatus: Reg<CRCSTATUS_SPEC>0x0c - CRC Status
dbgctrl: Reg<DBGCTRL_SPEC>0x0d - Debug Control
swtrigctrl: Reg<SWTRIGCTRL_SPEC>0x10 - Software Trigger Control
prictrl0: Reg<PRICTRL0_SPEC>0x14 - Priority Control 0
intpend: Reg<INTPEND_SPEC>0x20 - Interrupt Pending
intstatus: Reg<INTSTATUS_SPEC>0x24 - Interrupt Status
busych: Reg<BUSYCH_SPEC>0x28 - Busy Channels
pendch: Reg<PENDCH_SPEC>0x2c - Pending Channels
active: Reg<ACTIVE_SPEC>0x30 - Active Channel and Levels
baseaddr: Reg<BASEADDR_SPEC>0x34 - Descriptor Memory Section Base Address
wrbaddr: Reg<WRBADDR_SPEC>0x38 - Write-Back Memory Section Base Address
channel: [CHANNEL; 32]0x40..0x240 - CHANNEL[%s]
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 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