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 5 Write Address pointer
sourcepub const fn trans_count(self) -> Reg<u32, RW>
pub const fn trans_count(self) -> Reg<u32, RW>
DMA Channel 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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.
Trait Implementations§
impl Copy for Channel
impl Eq for Channel
impl Send for Channel
impl StructuralPartialEq for Channel
impl Sync for Channel
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)