#[non_exhaustive]#[repr(u8)]pub enum Cmd {
Show 41 variants
Reset = 0,
Synchronize = 1,
SetMode = 2,
Clear = 3,
Nop = 4,
WritePatternBuffer = 16,
ConfigPattern = 17,
ChangePatternBank = 18,
WritePatternCompressed = 19,
WritePatternFused = 20,
WriteModulationBuffer = 32,
ConfigModulation = 33,
ChangeModulationBank = 34,
WriteModulationFused = 35,
SetSilencer = 48,
SetPhaseCorrection = 64,
SetOutputMask = 65,
SetPulseWidthTable = 66,
EmulateGpioIn = 80,
SetGpioOut = 82,
ForceFan = 96,
UpdateBegin = 112,
UpdateChunk = 113,
UpdateCommit = 114,
UpdateActivate = 115,
UpdateConfirm = 116,
FpgaUpdateBegin = 117,
FpgaUpdateChunk = 118,
FpgaUpdateCommit = 119,
FpgaUpdateActivate = 120,
ReadErrorDetail = 224,
ReadCpuFwVersionMajor = 225,
ReadCpuFwVersionMinor = 226,
ReadCpuFwVersionPatch = 227,
ReadFpgaFwVersionMajor = 228,
ReadFpgaFwVersionMinor = 229,
ReadFpgaFwVersionPatch = 230,
ReadFpgaState = 231,
ReadTelemetry = 232,
ReadFpgaFunctions = 233,
ReadFpgaBootImage = 234,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reset = 0
Synchronize = 1
SetMode = 2
Clear = 3
Nop = 4
WritePatternBuffer = 16
ConfigPattern = 17
ChangePatternBank = 18
WritePatternCompressed = 19
WritePatternFused = 20
WriteModulationBuffer = 32
ConfigModulation = 33
ChangeModulationBank = 34
WriteModulationFused = 35
SetSilencer = 48
SetPhaseCorrection = 64
SetOutputMask = 65
SetPulseWidthTable = 66
EmulateGpioIn = 80
SetGpioOut = 82
ForceFan = 96
UpdateBegin = 112
UpdateChunk = 113
UpdateCommit = 114
UpdateActivate = 115
UpdateConfirm = 116
FpgaUpdateBegin = 117
FpgaUpdateChunk = 118
FpgaUpdateCommit = 119
FpgaUpdateActivate = 120
ReadErrorDetail = 224
ReadCpuFwVersionMajor = 225
ReadCpuFwVersionMinor = 226
ReadCpuFwVersionPatch = 227
ReadFpgaFwVersionMajor = 228
ReadFpgaFwVersionMinor = 229
ReadFpgaFwVersionPatch = 230
ReadFpgaState = 231
ReadTelemetry = 232
ReadFpgaFunctions = 233
ReadFpgaBootImage = 234
Implementations§
Trait Implementations§
impl Copy for Cmd
impl Eq for Cmd
impl StructuralPartialEq for Cmd
Auto Trait Implementations§
impl Freeze for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnsafeUnpin for Cmd
impl UnwindSafe for Cmd
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