#[non_exhaustive]pub struct Channel0 {}
Trait Implementations§
Source§impl ChannelTypes for Channel0
impl ChannelTypes for Channel0
Source§impl RegisterAccess for Channel0
impl RegisterAccess for Channel0
fn init_channel()
fn set_out_burstmode(burst_mode: bool)
fn set_out_priority(priority: DmaPriority)
fn clear_out_interrupts()
fn reset_out()
fn set_out_descriptors(address: u32)
fn has_out_descriptor_error() -> bool
fn set_out_peripheral(peripheral: u8)
fn start_out()
fn clear_ch_out_done()
fn is_ch_out_done_set() -> bool
fn listen_ch_out_done()
fn unlisten_ch_out_done()
fn is_listening_ch_out_done() -> bool
fn is_out_done() -> bool
fn last_out_dscr_address() -> usize
fn is_out_eof_interrupt_set() -> bool
fn reset_out_eof_interrupt()
fn set_in_burstmode(burst_mode: bool)
fn set_in_priority(priority: DmaPriority)
fn clear_in_interrupts()
fn reset_in()
fn set_in_descriptors(address: u32)
fn has_in_descriptor_error() -> bool
fn has_in_descriptor_error_dscr_empty() -> bool
fn has_in_descriptor_error_err_eof() -> bool
fn set_in_peripheral(peripheral: u8)
fn start_in()
fn is_in_done() -> bool
fn last_in_dscr_address() -> usize
fn is_listening_in_eof() -> bool
fn is_listening_out_eof() -> bool
fn listen_in_eof()
fn listen_out_eof()
fn unlisten_in_eof()
fn unlisten_out_eof()
fn listen_ch_in_done()
fn clear_ch_in_done()
fn is_ch_in_done_set() -> bool
fn unlisten_ch_in_done()
fn is_listening_ch_in_done() -> bool
Source§impl<'a> RxChannel<Channel0> for Channel0RxImpl
impl<'a> RxChannel<Channel0> for Channel0RxImpl
fn init(&mut self, burst_mode: bool, priority: DmaPriority)
fn prepare_transfer_without_start( &mut self, descriptors: &mut [u32], circular: bool, peri: DmaPeripheral, data: *mut u8, len: usize, ) -> Result<(), DmaError>
fn start_transfer(&mut self) -> Result<(), DmaError>
fn is_done(&self) -> bool
fn last_in_dscr_address(&self) -> usize
Source§impl<'a> TxChannel<Channel0> for Channel0TxImpl
impl<'a> TxChannel<Channel0> for Channel0TxImpl
fn init(&mut self, burst_mode: bool, priority: DmaPriority)
fn prepare_transfer_without_start( &mut self, descriptors: &mut [u32], circular: bool, peri: DmaPeripheral, data: *const u8, len: usize, ) -> Result<(), DmaError>
fn start_transfer(&mut self) -> Result<(), DmaError>
fn clear_ch_out_done(&self)
fn is_ch_out_done_set(&self) -> bool
fn listen_ch_out_done(&self)
fn unlisten_ch_out_done(&self)
fn is_listening_ch_out_done(&self) -> bool
fn is_done(&self) -> bool
fn descriptors_handled(&self) -> bool
fn reset_descriptors_handled(&self)
fn last_out_dscr_address(&self) -> usize
Auto Trait Implementations§
impl Freeze for Channel0
impl RefUnwindSafe for Channel0
impl Send for Channel0
impl Sync for Channel0
impl Unpin for Channel0
impl UnwindSafe for Channel0
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