#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control"] pub ctrl: crate::Reg, #[doc = "0x02 - CRC Control"] pub crcctrl: crate::Reg, #[doc = "0x04 - CRC Data Input"] pub crcdatain: crate::Reg, #[doc = "0x08 - CRC Checksum"] pub crcchksum: crate::Reg, #[doc = "0x0c - CRC Status"] pub crcstatus: crate::Reg, #[doc = "0x0d - Debug Control"] pub dbgctrl: crate::Reg, #[doc = "0x0e - QOS Control"] pub qosctrl: crate::Reg, _reserved7: [u8; 0x01], #[doc = "0x10 - Software Trigger Control"] pub swtrigctrl: crate::Reg, #[doc = "0x14 - Priority Control 0"] pub prictrl0: crate::Reg, _reserved9: [u8; 0x08], #[doc = "0x20 - Interrupt Pending"] pub intpend: crate::Reg, _reserved10: [u8; 0x02], #[doc = "0x24 - Interrupt Status"] pub intstatus: crate::Reg, #[doc = "0x28 - Busy Channels"] pub busych: crate::Reg, #[doc = "0x2c - Pending Channels"] pub pendch: crate::Reg, #[doc = "0x30 - Active Channel and Levels"] pub active: crate::Reg, #[doc = "0x34 - Descriptor Memory Section Base Address"] pub baseaddr: crate::Reg, #[doc = "0x38 - Write-Back Memory Section Base Address"] pub wrbaddr: crate::Reg, _reserved16: [u8; 0x03], #[doc = "0x3f - Channel ID"] pub chid: crate::Reg, #[doc = "0x40 - Channel Control A"] pub chctrla: crate::Reg, _reserved18: [u8; 0x03], #[doc = "0x44 - Channel Control B"] pub chctrlb: crate::Reg, _reserved19: [u8; 0x04], #[doc = "0x4c - Channel Interrupt Enable Clear"] pub chintenclr: crate::Reg, #[doc = "0x4d - Channel Interrupt Enable Set"] pub chintenset: crate::Reg, #[doc = "0x4e - Channel Interrupt Flag Status and Clear"] pub chintflag: crate::Reg, #[doc = "0x4f - Channel Status"] pub chstatus: crate::Reg, } #[doc = "CTRL register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Control"] pub mod ctrl; #[doc = "CRCCTRL register accessor: an alias for `Reg`"] pub type CRCCTRL = crate::Reg; #[doc = "CRC Control"] pub mod crcctrl; #[doc = "CRCDATAIN register accessor: an alias for `Reg`"] pub type CRCDATAIN = crate::Reg; #[doc = "CRC Data Input"] pub mod crcdatain; #[doc = "CRCCHKSUM register accessor: an alias for `Reg`"] pub type CRCCHKSUM = crate::Reg; #[doc = "CRC Checksum"] pub mod crcchksum; #[doc = "CRCSTATUS register accessor: an alias for `Reg`"] pub type CRCSTATUS = crate::Reg; #[doc = "CRC Status"] pub mod crcstatus; #[doc = "DBGCTRL register accessor: an alias for `Reg`"] pub type DBGCTRL = crate::Reg; #[doc = "Debug Control"] pub mod dbgctrl; #[doc = "QOSCTRL register accessor: an alias for `Reg`"] pub type QOSCTRL = crate::Reg; #[doc = "QOS Control"] pub mod qosctrl; #[doc = "SWTRIGCTRL register accessor: an alias for `Reg`"] pub type SWTRIGCTRL = crate::Reg; #[doc = "Software Trigger Control"] pub mod swtrigctrl; #[doc = "PRICTRL0 register accessor: an alias for `Reg`"] pub type PRICTRL0 = crate::Reg; #[doc = "Priority Control 0"] pub mod prictrl0; #[doc = "INTPEND register accessor: an alias for `Reg`"] pub type INTPEND = crate::Reg; #[doc = "Interrupt Pending"] pub mod intpend; #[doc = "INTSTATUS register accessor: an alias for `Reg`"] pub type INTSTATUS = crate::Reg; #[doc = "Interrupt Status"] pub mod intstatus; #[doc = "BUSYCH register accessor: an alias for `Reg`"] pub type BUSYCH = crate::Reg; #[doc = "Busy Channels"] pub mod busych; #[doc = "PENDCH register accessor: an alias for `Reg`"] pub type PENDCH = crate::Reg; #[doc = "Pending Channels"] pub mod pendch; #[doc = "ACTIVE register accessor: an alias for `Reg`"] pub type ACTIVE = crate::Reg; #[doc = "Active Channel and Levels"] pub mod active; #[doc = "BASEADDR register accessor: an alias for `Reg`"] pub type BASEADDR = crate::Reg; #[doc = "Descriptor Memory Section Base Address"] pub mod baseaddr; #[doc = "WRBADDR register accessor: an alias for `Reg`"] pub type WRBADDR = crate::Reg; #[doc = "Write-Back Memory Section Base Address"] pub mod wrbaddr; #[doc = "CHID register accessor: an alias for `Reg`"] pub type CHID = crate::Reg; #[doc = "Channel ID"] pub mod chid; #[doc = "CHCTRLA register accessor: an alias for `Reg`"] pub type CHCTRLA = crate::Reg; #[doc = "Channel Control A"] pub mod chctrla; #[doc = "CHCTRLB register accessor: an alias for `Reg`"] pub type CHCTRLB = crate::Reg; #[doc = "Channel Control B"] pub mod chctrlb; #[doc = "CHINTENCLR register accessor: an alias for `Reg`"] pub type CHINTENCLR = crate::Reg; #[doc = "Channel Interrupt Enable Clear"] pub mod chintenclr; #[doc = "CHINTENSET register accessor: an alias for `Reg`"] pub type CHINTENSET = crate::Reg; #[doc = "Channel Interrupt Enable Set"] pub mod chintenset; #[doc = "CHINTFLAG register accessor: an alias for `Reg`"] pub type CHINTFLAG = crate::Reg; #[doc = "Channel Interrupt Flag Status and Clear"] pub mod chintflag; #[doc = "CHSTATUS register accessor: an alias for `Reg`"] pub type CHSTATUS = crate::Reg; #[doc = "Channel Status"] pub mod chstatus;