Struct esp32_hal::dma::pdma::Spi2DmaChannel
source · #[non_exhaustive]pub struct Spi2DmaChannel {}
Trait Implementations§
source§impl ChannelTypes for Spi2DmaChannel
impl ChannelTypes for Spi2DmaChannel
type P = Spi2DmaSuitablePeripheral
type Tx<'a> = ChannelTx<'a, Spi2DmaChannelTxImpl, Spi2DmaChannel>
type Rx<'a> = ChannelRx<'a, Spi2DmaChannelRxImpl, Spi2DmaChannel>
source§impl RegisterAccess for Spi2DmaChannel
impl RegisterAccess for Spi2DmaChannel
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<Spi2DmaChannel> for Spi2DmaChannelRxImpl
impl<'a> RxChannel<Spi2DmaChannel> for Spi2DmaChannelRxImpl
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<Spi2DmaChannel> for Spi2DmaChannelTxImpl
impl<'a> TxChannel<Spi2DmaChannel> for Spi2DmaChannelTxImpl
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 RefUnwindSafe for Spi2DmaChannel
impl Send for Spi2DmaChannel
impl Sync for Spi2DmaChannel
impl Unpin for Spi2DmaChannel
impl UnwindSafe for Spi2DmaChannel
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