Enum rp2040_pac::xip_ssi::ctrlr0::SPI_FRF_A
source · #[repr(u8)]pub enum SPI_FRF_A {
STD = 0,
DUAL = 1,
QUAD = 2,
}
Expand description
SPI frame format
Value on reset: 0
Variants§
STD = 0
0: Standard 1-bit SPI frame format; 1 bit per SCK, full-duplex
DUAL = 1
1: Dual-SPI frame format; two bits per SCK, half-duplex
QUAD = 2
2: Quad-SPI frame format; four bits per SCK, half-duplex
Trait Implementations§
impl Copy for SPI_FRF_A
impl Eq for SPI_FRF_A
impl StructuralPartialEq for SPI_FRF_A
Auto Trait Implementations§
impl Freeze for SPI_FRF_A
impl RefUnwindSafe for SPI_FRF_A
impl Send for SPI_FRF_A
impl Sync for SPI_FRF_A
impl Unpin for SPI_FRF_A
impl UnwindSafe for SPI_FRF_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
)