#[non_exhaustive]pub struct Channel2 {}
Trait Implementations§
Source§impl ChannelTypes for Channel2
impl ChannelTypes for Channel2
Source§impl RegisterAccess for Channel2
impl RegisterAccess for Channel2
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<Channel2> for Channel2RxImpl
impl<'a> RxChannel<Channel2> for Channel2RxImpl
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<Channel2> for Channel2TxImpl
impl<'a> TxChannel<Channel2> for Channel2TxImpl
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 Channel2
impl RefUnwindSafe for Channel2
impl Send for Channel2
impl Sync for Channel2
impl Unpin for Channel2
impl UnwindSafe for Channel2
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