#[repr(u8)]pub enum ConfigMode {
Show 13 variants
SlaveSerialX1 = 0,
SlaveSelectMapX8 = 1,
SlaveMapX16 = 2,
SlaveSelectMapX32 = 3,
JtagBoudaryScanX1 = 4,
MasterSpiX1 = 5,
MasterSpiX2 = 6,
MasterSpiX4 = 7,
MasterSpiX8 = 8,
MasterSpiX16 = 9,
MasterSerialX1 = 10,
MasterSelectMapX8 = 11,
MasterSelectMapX16 = 12,
}Variants§
SlaveSerialX1 = 0
SlaveSelectMapX8 = 1
SlaveMapX16 = 2
SlaveSelectMapX32 = 3
JtagBoudaryScanX1 = 4
MasterSpiX1 = 5
MasterSpiX2 = 6
MasterSpiX4 = 7
MasterSpiX8 = 8
MasterSpiX16 = 9
MasterSerialX1 = 10
MasterSelectMapX8 = 11
MasterSelectMapX16 = 12
Trait Implementations§
Source§impl Clone for ConfigMode
impl Clone for ConfigMode
impl Copy for ConfigMode
Source§impl Debug for ConfigMode
impl Debug for ConfigMode
impl Eq for ConfigMode
Source§impl Ord for ConfigMode
impl Ord for ConfigMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConfigMode
impl PartialEq for ConfigMode
Source§impl PartialOrd for ConfigMode
impl PartialOrd for ConfigMode
impl StructuralPartialEq for ConfigMode
Source§impl TryFrom<u8> for ConfigMode
impl TryFrom<u8> for ConfigMode
Source§type Error = TryFromPrimitiveError<ConfigMode>
type Error = TryFromPrimitiveError<ConfigMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ConfigMode
impl TryFromPrimitive for ConfigMode
Auto Trait Implementations§
impl Freeze for ConfigMode
impl RefUnwindSafe for ConfigMode
impl Send for ConfigMode
impl Sync for ConfigMode
impl Unpin for ConfigMode
impl UnsafeUnpin for ConfigMode
impl UnwindSafe for ConfigMode
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