Enum rust_cryptoauthlib::AtcaStatus [−][src]
pub enum AtcaStatus {}Show 38 variants
AtcaSuccess, AtcaConfigZoneLocked, AtcaDataZoneLocked, AtcaWakeFailed, AtcaCheckMacVerifyFailed, AtcaParseError, AtcaStatusCrc, AtcaStatusUnknown, AtcaStatusEcc, AtcaStatusSelftestError, AtcaFuncFail, AtcaGenFail, AtcaBadParam, AtcaInvalidId, AtcaInvalidSize, AtcaRxCrcError, AtcaRxFail, AtcaRxNoResponse, AtcaResyncWithWakeup, AtcaParityError, AtcaTxTimeout, AtcaRxTimeout, AtcaTooManyCommRetries, AtcaSmallBuffer, AtcaCommFail, AtcaTimeout, AtcaBadOpcode, AtcaWakeSuccess, AtcaExecutionError, AtcaUnimplemented, AtcaAssertFailure, AtcaTxFail, AtcaNotLocked, AtcaNoDevices, AtcaHealthTestError, AtcaAllocFailure, AtcaUseFlagsConsumed, AtcaUnknown,
Expand description
Return status for device accessing functions
Variants
Function succeeded.
response status byte indicates CheckMac failure (status byte = 0x01)
response status byte indicates CheckMac failure (status byte = 0x01)
response status byte indicates parsing error (status byte = 0x03)
response status byte indicates DEVICE did not receive data properly (status byte = 0xFF)
response status byte is unknown
response status byte is ECC fault (status byte = 0x05)
response status byte is Self Test Error, chip in failure mode (status byte = 0x07)
Function could not execute due to incorrect condition / state.
unspecified error
bad argument (out of range, null pointer, etc.)
invalid device id, id not set
Count value is out of range or greater than buffer size.
CRC error in data received from device
Timed out while waiting for response. Number of bytes received is > 0.
Not an error while the Command layer is polling for a command response.
Re-synchronization succeeded, but only after generating a Wake-up
for protocols needing parity
for Microchip PHY protocol, timeout on transmission waiting for master
for Microchip PHY protocol, timeout on receipt waiting for master
Device did not respond too many times during a transmission. Could indicate no device present.
Supplied buffer is too small for data required
Communication with device failed. Same as in hardware dependent modules.
Timed out while waiting for response. Number of bytes received is 0.
opcode is not supported by the device
received proper wake token
chip was in a state where it could not execute the command, response status byte indicates command execution error (status byte = 0x0F)
Function or some element of it hasn’t been implemented yet
Code failed run-time consistency check
Failed to write
required zone was not locked
For protocols that support device discovery (kit protocol), no devices were found
random number generator health test error
Couldn’t allocate required memory
Use flags on the device indicates its consumed fully
Unknown error occured
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AtcaStatus
impl Send for AtcaStatus
impl Sync for AtcaStatus
impl Unpin for AtcaStatus
impl UnwindSafe for AtcaStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V