pub struct Channel { /* private fields */ }
Implementations§
Source§impl Channel
impl Channel
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn write_addr(self) -> Reg<u32, RW>
pub const fn write_addr(self) -> Reg<u32, RW>
DMA Channel 9 Write Address pointer
Sourcepub const fn trans_count(self) -> Reg<ChTransCount, RW>
pub const fn trans_count(self) -> Reg<ChTransCount, RW>
DMA Channel 9 Transfer Count
Sourcepub const fn al1_read_addr(self) -> Reg<u32, RW>
pub const fn al1_read_addr(self) -> Reg<u32, RW>
Alias for channel 9 READ_ADDR register
Sourcepub const fn al1_write_addr(self) -> Reg<u32, RW>
pub const fn al1_write_addr(self) -> Reg<u32, RW>
Alias for channel 9 WRITE_ADDR register
Sourcepub const fn al1_trans_count_trig(self) -> Reg<u32, RW>
pub const fn al1_trans_count_trig(self) -> Reg<u32, RW>
Alias for channel 9 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel.
Sourcepub const fn al2_trans_count(self) -> Reg<u32, RW>
pub const fn al2_trans_count(self) -> Reg<u32, RW>
Alias for channel 9 TRANS_COUNT register
Sourcepub const fn al2_read_addr(self) -> Reg<u32, RW>
pub const fn al2_read_addr(self) -> Reg<u32, RW>
Alias for channel 9 READ_ADDR register
Sourcepub const fn al2_write_addr_trig(self) -> Reg<u32, RW>
pub const fn al2_write_addr_trig(self) -> Reg<u32, RW>
Alias for channel 9 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel.
Sourcepub const fn al3_write_addr(self) -> Reg<u32, RW>
pub const fn al3_write_addr(self) -> Reg<u32, RW>
Alias for channel 9 WRITE_ADDR register
Sourcepub const fn al3_trans_count(self) -> Reg<u32, RW>
pub const fn al3_trans_count(self) -> Reg<u32, RW>
Alias for channel 9 TRANS_COUNT register
Sourcepub const fn al3_read_addr_trig(self) -> Reg<u32, RW>
pub const fn al3_read_addr_trig(self) -> Reg<u32, RW>
Alias for channel 9 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel.
Sourcepub const fn dbg_ctdreq(self) -> Reg<DbgCtdreq, RW>
pub const fn dbg_ctdreq(self) -> Reg<DbgCtdreq, RW>
Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake.