Struct aw_soc::spi::TransferControl
source · #[repr(transparent)]pub struct TransferControl(_);Expand description
Transfer control for current peripheral.
Implementations§
source§impl TransferControl
impl TransferControl
sourcepub const fn burst_finished(self) -> bool
pub const fn burst_finished(self) -> bool
Check if burst exchange has finished.
sourcepub const fn start_burst_exchange(self) -> Self
pub const fn start_burst_exchange(self) -> Self
Initiates burst exchange.
sourcepub const fn set_work_mode(self, mode: Mode) -> Self
pub const fn set_work_mode(self, mode: Mode) -> Self
Sets SPI work mode.
Trait Implementations§
source§impl Clone for TransferControl
impl Clone for TransferControl
source§fn clone(&self) -> TransferControl
fn clone(&self) -> TransferControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TransferControl
impl Debug for TransferControl
source§impl Default for TransferControl
impl Default for TransferControl
source§fn default() -> TransferControl
fn default() -> TransferControl
Returns the “default value” for a type. Read more
source§impl PartialEq<TransferControl> for TransferControl
impl PartialEq<TransferControl> for TransferControl
source§fn eq(&self, other: &TransferControl) -> bool
fn eq(&self, other: &TransferControl) -> bool
This method tests for
self and other values to be equal, and is used
by ==.