Enum rp2040_pac::xip_ssi::ctrlr0::TMOD_A
source · #[repr(u8)]pub enum TMOD_A {
TX_AND_RX = 0,
TX_ONLY = 1,
RX_ONLY = 2,
EEPROM_READ = 3,
}
Expand description
Transfer mode
Value on reset: 0
Variants§
TX_AND_RX = 0
0: Both transmit and receive
TX_ONLY = 1
1: Transmit only (not for FRF == 0, standard SPI mode)
RX_ONLY = 2
2: Receive only (not for FRF == 0, standard SPI mode)
EEPROM_READ = 3
3: EEPROM read mode (TX then RX; RX starts after control data TX’d)
Trait Implementations§
impl Copy for TMOD_A
impl Eq for TMOD_A
impl StructuralPartialEq for TMOD_A
Auto Trait Implementations§
impl Freeze for TMOD_A
impl RefUnwindSafe for TMOD_A
impl Send for TMOD_A
impl Sync for TMOD_A
impl Unpin for TMOD_A
impl UnwindSafe for TMOD_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)