#[repr(u8)]pub enum Type {
I3c = 0,
I2c = 1,
Ddr = 2,
Forcedibhr = 3,
}Expand description
Bus type with START
Value on reset: 0
Variants§
I3c = 0
0: I3C: Normally the SDR mode of I3C. For ForceExit, the Exit pattern.
I2c = 1
1: I2C: Normally the Standard I2C protocol.
Ddr = 2
2: DDR: (Double Data Rate): Normally the HDR-DDR mode of I3C. Enter DDR mode (7E and then ENTHDR0), if the module is not already in DDR mode. The 1st byte written to the TX FIFO should be a command, and should already be in the FIFO. To end DDR mode, use ForceExit. For ForceExit, the normal IBHR (In-Band Hardware Reset).
Forcedibhr = 3
3: For ForcedExit, this is forced IBHR.
Trait Implementations§
impl Copy for Type
impl Eq for Type
impl IsEnum for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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