pub enum AbstractCommandErrorKind {
None,
Busy,
NotSupported,
Exception,
HaltResume,
Bus,
_Reserved,
Other,
}
Expand description
Errors which can occur while executing an abstract command.
Variants§
None
No error happened.
Busy
An abstract command was executing while command, abstractcs, or abstractauto was written, or when one of the data or progbuf registers was read or written. This status is only written if cmderr contains 0.
NotSupported
The requested command is not supported, reg
Exception
An exception occurred while executing the command (e.g. while executing the Program Buffer).
HaltResume
The abstract command couldn’t execute because the hart wasn’t in the required state (running/halted), or unavailable.
Bus
The abstract command failed due to a bus error (e.g. alignment, access size, or timeout).
_Reserved
A reserved code. Should not occur.
Other
The command failed for another reason.