#[non_exhaustive]
pub struct Spi2DmaChannel {}

Trait Implementations§

source§

impl ChannelTypes for Spi2DmaChannel

source§

impl RegisterAccess for Spi2DmaChannel

source§

fn init_channel()

source§

fn set_out_burstmode(burst_mode: bool)

source§

fn set_out_priority(_priority: DmaPriority)

source§

fn clear_out_interrupts()

source§

fn reset_out()

source§

fn set_out_descriptors(address: u32)

source§

fn has_out_descriptor_error() -> bool

source§

fn set_out_peripheral(_peripheral: u8)

source§

fn start_out()

source§

fn clear_ch_out_done()

source§

fn is_ch_out_done_set() -> bool

source§

fn listen_ch_out_done()

source§

fn unlisten_ch_out_done()

source§

fn is_listening_ch_out_done() -> bool

source§

fn is_out_done() -> bool

source§

fn last_out_dscr_address() -> usize

source§

fn is_out_eof_interrupt_set() -> bool

source§

fn reset_out_eof_interrupt()

source§

fn set_in_burstmode(burst_mode: bool)

source§

fn set_in_priority(_priority: DmaPriority)

source§

fn clear_in_interrupts()

source§

fn reset_in()

source§

fn set_in_descriptors(address: u32)

source§

fn has_in_descriptor_error() -> bool

source§

fn has_in_descriptor_error_dscr_empty() -> bool

source§

fn has_in_descriptor_error_err_eof() -> bool

source§

fn set_in_peripheral(_peripheral: u8)

source§

fn start_in()

source§

fn is_in_done() -> bool

source§

fn last_in_dscr_address() -> usize

source§

fn is_listening_in_eof() -> bool

source§

fn is_listening_out_eof() -> bool

source§

fn listen_in_eof()

source§

fn listen_out_eof()

source§

fn unlisten_in_eof()

source§

fn unlisten_out_eof()

source§

fn listen_ch_in_done()

source§

fn clear_ch_in_done()

source§

fn is_ch_in_done_set() -> bool

source§

fn unlisten_ch_in_done()

source§

fn is_listening_ch_in_done() -> bool

source§

impl<'a> RxChannel<Spi2DmaChannel> for Spi2DmaChannelRxImpl

source§

fn init(&mut self, burst_mode: bool, priority: DmaPriority)

source§

fn prepare_transfer_without_start( &mut self, descriptors: &mut [u32], circular: bool, peri: DmaPeripheral, data: *mut u8, len: usize ) -> Result<(), DmaError>

source§

fn start_transfer(&mut self) -> Result<(), DmaError>

source§

fn is_done(&self) -> bool

source§

fn last_in_dscr_address(&self) -> usize

source§

impl<'a> TxChannel<Spi2DmaChannel> for Spi2DmaChannelTxImpl

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.