#[repr(C)]pub struct CHANNEL {Show 17 fields
pub sar: SAR,
pub dar: DAR,
pub block_ts: BLOCK_TS,
pub ctl: CTL,
pub cfg: CFG,
pub llp: LLP,
pub status: STATUS,
pub swhssrc: SWHSSRC,
pub swhsdst: SWHSDST,
pub blk_tfr: BLK_TFR,
pub axi_id: AXI_ID,
pub axi_qos: AXI_QOS,
pub intstatus_en: INTSTATUS_EN,
pub intstatus: INTSTATUS,
pub intsignal_en: INTSIGNAL_EN,
pub intclear: INTCLEAR,
pub _reserved: _RESERVED,
/* private fields */
}Expand description
Register block
Fields§
§sar: SAR0x00 - SAR Address Register
dar: DAR0x08 - DAR Address Register
block_ts: BLOCK_TS0x10 - Block Transfer Size Register
ctl: CTL0x18 - Control Register
cfg: CFG0x20 - Configure Register
llp: LLP0x28 - Linked List Pointer register
status: STATUS0x30 - Channel Status Register
swhssrc: SWHSSRC0x38 - Channel Software handshake Source Register
swhsdst: SWHSDST0x40 - Channel Software handshake Destination Register
blk_tfr: BLK_TFR0x48 - Channel Block Transfer Resume Request Register
axi_id: AXI_ID0x50 - Channel AXI ID Register
axi_qos: AXI_QOS0x58 - AXI QOS Register
intstatus_en: INTSTATUS_EN0x80 - Interrupt Status Enable Register
intstatus: INTSTATUS0x88 - Channel Interrupt Status Register
intsignal_en: INTSIGNAL_EN0x90 - Interrupt Signal Enable Register
intclear: INTCLEAR0x98 - Interrupt Clear Register
_reserved: _RESERVED0xf8 - Padding to make structure size 256 bytes so that channels[] is an array
Auto Trait Implementations§
impl !Freeze for CHANNEL
impl !RefUnwindSafe for CHANNEL
impl Send for CHANNEL
impl !Sync for CHANNEL
impl Unpin for CHANNEL
impl UnwindSafe for CHANNEL
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