Enum driver_cp2130::device::Commands
source · pub enum Commands {
Show 20 variants
GetClockDivider = 70,
GetEventCounter = 68,
GetFullThreshold = 52,
GetGpioChipSelect = 36,
GetGpioModeAndLevel = 34,
GetGpioValues = 32,
GetRtrState = 54,
GetSpiWord = 48,
GetSpiDelay = 50,
GetReadOnlyVersion = 17,
ResetDevice = 16,
SetClockDivider = 71,
SetEventCOunter = 69,
SetFullThreshold = 53,
SetGpioChipSelect = 37,
SetGpioModeAndLevel = 35,
SetGpioValues = 33,
SetRtrStop = 55,
SetSpiWord = 49,
SetSpiDelay = 51,
}
Expand description
CP2130 command enumeration
Variants§
GetClockDivider = 70
GetEventCounter = 68
GetFullThreshold = 52
GetGpioChipSelect = 36
GetGpioModeAndLevel = 34
GetGpioValues = 32
GetRtrState = 54
GetSpiWord = 48
GetSpiDelay = 50
GetReadOnlyVersion = 17
ResetDevice = 16
SetClockDivider = 71
SetEventCOunter = 69
SetFullThreshold = 53
SetGpioChipSelect = 37
SetGpioModeAndLevel = 35
SetGpioValues = 33
SetRtrStop = 55
SetSpiWord = 49
SetSpiDelay = 51
Trait Implementations§
source§impl PartialEq for Commands
impl PartialEq for Commands
impl Copy for Commands
impl StructuralPartialEq for Commands
Auto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
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