pub enum FrameFormat {
MotorolaSpi(Mode),
TexasInstrumentsSynchronousSerial,
NationalSemiconductorMicrowire,
}Expand description
SPI frame format
Variants§
MotorolaSpi(Mode)
Motorola SPI format.
See Section 12.3.4.9 of the RP2350 datasheet.
TexasInstrumentsSynchronousSerial
Texas Instruments synchronous serial frame format.
See Section 12.3.4.8 of the RP2350 datasheet.
NationalSemiconductorMicrowire
National Semiconductor Microwire frame format.
See Section 12.3.4.14 of the RP2350 datasheet.
Trait Implementations§
Source§impl Clone for FrameFormat
impl Clone for FrameFormat
Source§fn clone(&self) -> FrameFormat
fn clone(&self) -> FrameFormat
Returns a duplicate 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 From<&Mode> for FrameFormat
impl From<&Mode> for FrameFormat
Source§fn from(f: &Mode) -> FrameFormat
fn from(f: &Mode) -> FrameFormat
Converts to this type from the input type.
Source§impl From<&Mode> for FrameFormat
impl From<&Mode> for FrameFormat
Source§fn from(f: &Mode) -> FrameFormat
fn from(f: &Mode) -> FrameFormat
Converts to this type from the input type.
Source§impl From<Mode> for FrameFormat
impl From<Mode> for FrameFormat
Source§fn from(f: Mode) -> FrameFormat
fn from(f: Mode) -> FrameFormat
Converts to this type from the input type.
Source§impl From<Mode> for FrameFormat
impl From<Mode> for FrameFormat
Source§fn from(f: Mode) -> FrameFormat
fn from(f: Mode) -> FrameFormat
Converts to this type from the input type.
Source§impl PartialEq for FrameFormat
impl PartialEq for FrameFormat
impl Copy for FrameFormat
impl Eq for FrameFormat
impl StructuralPartialEq for FrameFormat
Auto Trait Implementations§
impl Freeze for FrameFormat
impl RefUnwindSafe for FrameFormat
impl Send for FrameFormat
impl Sync for FrameFormat
impl Unpin for FrameFormat
impl UnwindSafe for FrameFormat
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§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more