#[repr(u8)]pub enum CommandTagDiscriminants {
Show 30 variants
NoCommand = 0,
FlashEraseAll = 1,
FlashEraseRegion = 2,
ReadMemory = 3,
WriteMemory = 4,
FillMemory = 5,
FlashSecurityDisable = 6,
GetProperty = 7,
ReceiveSBFile = 8,
Execute = 9,
Call = 10,
Reset = 11,
SetProperty = 12,
FlashEraseAllUnsecure = 13,
FlashProgramOnce = 14,
FlashReadOnce = 15,
FlashReadResource = 16,
ConfigureMemory = 17,
ReliableUpdate = 18,
GenerateKeyBlob = 19,
FuseProgram = 20,
KeyProvisioning = 21,
TrustProvisioning = 22,
FuseRead = 23,
UpdateLifeCycle = 24,
EleMessage = 25,
EL2GO = 32,
ConfigureI2C = 193,
ConfigureSPI = 194,
ConfigureCAN = 195,
}Variants§
NoCommand = 0
Used to load flashloader into the memory
FlashEraseAll = 1
Erase all flash memory sectors
FlashEraseRegion = 2
Erase specific flash memory region
ReadMemory = 3
Read data from memory
WriteMemory = 4
Write data to memory
FillMemory = 5
Fill memory region with pattern
FlashSecurityDisable = 6
Disable flash read/write protection
GetProperty = 7
Get device property value
ReceiveSBFile = 8
Process Secure Binary (SB) file
Execute = 9
Execute code at specified address
Call = 10
Call function
Reset = 11
Reset the MCU
SetProperty = 12
Set device property value
FlashEraseAllUnsecure = 13
Erase all flash and remove security
FlashProgramOnce = 14
Program One-Time Programmable (OTP) memory
FlashReadOnce = 15
Read One-Time Programmable (OTP) memory
FlashReadResource = 16
Read flash resource information
ConfigureMemory = 17
Configure external memory interface
ReliableUpdate = 18
Perform reliable update operation
GenerateKeyBlob = 19
Generate encrypted key blob
FuseProgram = 20
Program device fuses
KeyProvisioning = 21
Key provisioning operations
TrustProvisioning = 22
Trust provisioning operations
FuseRead = 23
Read device fuses
UpdateLifeCycle = 24
Update device lifecycle state
EleMessage = 25
Send EdgeLock Enclave message
EL2GO = 32
EdgeLock 2GO provisioning operations
ConfigureI2C = 193
Configure I2C interface parameters
ConfigureSPI = 194
Configure SPI interface parameters
ConfigureCAN = 195
Configure CAN interface parameters
Trait Implementations§
Source§impl Clone for CommandTagDiscriminants
impl Clone for CommandTagDiscriminants
Source§fn clone(&self) -> CommandTagDiscriminants
fn clone(&self) -> CommandTagDiscriminants
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CommandTagDiscriminants
impl Debug for CommandTagDiscriminants
Source§impl<'a, '_enum> From<&'_enum CommandTag<'a>> for CommandTagDiscriminants
impl<'a, '_enum> From<&'_enum CommandTag<'a>> for CommandTagDiscriminants
Source§fn from(val: &'_enum CommandTag<'a>) -> CommandTagDiscriminants
fn from(val: &'_enum CommandTag<'a>) -> CommandTagDiscriminants
Source§impl<'a> From<CommandTag<'a>> for CommandTagDiscriminants
impl<'a> From<CommandTag<'a>> for CommandTagDiscriminants
Source§fn from(val: CommandTag<'a>) -> CommandTagDiscriminants
fn from(val: CommandTag<'a>) -> CommandTagDiscriminants
Source§impl From<CommandTagDiscriminants> for u8
impl From<CommandTagDiscriminants> for u8
Source§fn from(value: CommandTagDiscriminants) -> Self
fn from(value: CommandTagDiscriminants) -> Self
Convert command tag discriminant to its numeric representation.