Enum AlertId

Source
#[repr(u32)]
pub enum AlertId {
Show 65 variants Uart0FatalFault = 0, Uart1FatalFault = 1, Uart2FatalFault = 2, Uart3FatalFault = 3, GpioFatalFault = 4, SpiDeviceFatalFault = 5, I2c0FatalFault = 6, I2c1FatalFault = 7, I2c2FatalFault = 8, PattgenFatalFault = 9, RvTimerFatalFault = 10, OtpCtrlFatalMacroError = 11, OtpCtrlFatalCheckError = 12, OtpCtrlFatalBusIntegError = 13, OtpCtrlFatalPrimOtpAlert = 14, OtpCtrlRecovPrimOtpAlert = 15, LcCtrlFatalProgError = 16, LcCtrlFatalStateError = 17, LcCtrlFatalBusIntegError = 18, SpiHost0FatalFault = 19, SpiHost1FatalFault = 20, UsbdevFatalFault = 21, PwrmgrAonFatalFault = 22, RstmgrAonFatalFault = 23, RstmgrAonFatalCnstyFault = 24, ClkmgrAonRecovFault = 25, ClkmgrAonFatalFault = 26, SysrstCtrlAonFatalFault = 27, AdcCtrlAonFatalFault = 28, PwmAonFatalFault = 29, PinmuxAonFatalFault = 30, AonTimerAonFatalFault = 31, SensorCtrlRecovAlert = 32, SensorCtrlFatalAlert = 33, SramCtrlRetAonFatalError = 34, FlashCtrlRecovErr = 35, FlashCtrlFatalStdErr = 36, FlashCtrlFatalErr = 37, FlashCtrlFatalPrimFlashAlert = 38, FlashCtrlRecovPrimFlashAlert = 39, RvDmFatalFault = 40, RvPlicFatalFault = 41, AesRecovCtrlUpdateErr = 42, AesFatalFault = 43, HmacFatalFault = 44, KmacRecovOperationErr = 45, KmacFatalFaultErr = 46, OtbnFatal = 47, OtbnRecov = 48, KeymgrRecovOperationErr = 49, KeymgrFatalFaultErr = 50, CsrngRecovAlert = 51, CsrngFatalAlert = 52, EntropySrcRecovAlert = 53, EntropySrcFatalAlert = 54, Edn0RecovAlert = 55, Edn0FatalAlert = 56, Edn1RecovAlert = 57, Edn1FatalAlert = 58, SramCtrlMainFatalError = 59, RomCtrlFatal = 60, RvCoreIbexFatalSwErr = 61, RvCoreIbexRecovSwErr = 62, RvCoreIbexFatalHwErr = 63, RvCoreIbexRecovHwErr = 64,
}
Expand description

Alert Handler Alert Source.

Enumeration of all Alert Handler Alert Sources. The alert sources belonging to the same peripheral are guaranteed to be consecutive.

Variants§

§

Uart0FatalFault = 0

uart0_fatal_fault

§

Uart1FatalFault = 1

uart1_fatal_fault

§

Uart2FatalFault = 2

uart2_fatal_fault

§

Uart3FatalFault = 3

uart3_fatal_fault

§

GpioFatalFault = 4

gpio_fatal_fault

§

SpiDeviceFatalFault = 5

spi_device_fatal_fault

§

I2c0FatalFault = 6

i2c0_fatal_fault

§

I2c1FatalFault = 7

i2c1_fatal_fault

§

I2c2FatalFault = 8

i2c2_fatal_fault

§

PattgenFatalFault = 9

pattgen_fatal_fault

§

RvTimerFatalFault = 10

rv_timer_fatal_fault

§

OtpCtrlFatalMacroError = 11

otp_ctrl_fatal_macro_error

§

OtpCtrlFatalCheckError = 12

otp_ctrl_fatal_check_error

§

OtpCtrlFatalBusIntegError = 13

otp_ctrl_fatal_bus_integ_error

§

OtpCtrlFatalPrimOtpAlert = 14

otp_ctrl_fatal_prim_otp_alert

§

OtpCtrlRecovPrimOtpAlert = 15

otp_ctrl_recov_prim_otp_alert

§

LcCtrlFatalProgError = 16

lc_ctrl_fatal_prog_error

§

LcCtrlFatalStateError = 17

lc_ctrl_fatal_state_error

§

LcCtrlFatalBusIntegError = 18

lc_ctrl_fatal_bus_integ_error

§

SpiHost0FatalFault = 19

spi_host0_fatal_fault

§

SpiHost1FatalFault = 20

spi_host1_fatal_fault

§

UsbdevFatalFault = 21

usbdev_fatal_fault

§

PwrmgrAonFatalFault = 22

pwrmgr_aon_fatal_fault

§

RstmgrAonFatalFault = 23

rstmgr_aon_fatal_fault

§

RstmgrAonFatalCnstyFault = 24

rstmgr_aon_fatal_cnsty_fault

§

ClkmgrAonRecovFault = 25

clkmgr_aon_recov_fault

§

ClkmgrAonFatalFault = 26

clkmgr_aon_fatal_fault

§

SysrstCtrlAonFatalFault = 27

sysrst_ctrl_aon_fatal_fault

§

AdcCtrlAonFatalFault = 28

adc_ctrl_aon_fatal_fault

§

PwmAonFatalFault = 29

pwm_aon_fatal_fault

§

PinmuxAonFatalFault = 30

pinmux_aon_fatal_fault

§

AonTimerAonFatalFault = 31

aon_timer_aon_fatal_fault

§

SensorCtrlRecovAlert = 32

sensor_ctrl_recov_alert

§

SensorCtrlFatalAlert = 33

sensor_ctrl_fatal_alert

§

SramCtrlRetAonFatalError = 34

sram_ctrl_ret_aon_fatal_error

§

FlashCtrlRecovErr = 35

flash_ctrl_recov_err

§

FlashCtrlFatalStdErr = 36

flash_ctrl_fatal_std_err

§

FlashCtrlFatalErr = 37

flash_ctrl_fatal_err

§

FlashCtrlFatalPrimFlashAlert = 38

flash_ctrl_fatal_prim_flash_alert

§

FlashCtrlRecovPrimFlashAlert = 39

flash_ctrl_recov_prim_flash_alert

§

RvDmFatalFault = 40

rv_dm_fatal_fault

§

RvPlicFatalFault = 41

rv_plic_fatal_fault

§

AesRecovCtrlUpdateErr = 42

aes_recov_ctrl_update_err

§

AesFatalFault = 43

aes_fatal_fault

§

HmacFatalFault = 44

hmac_fatal_fault

§

KmacRecovOperationErr = 45

kmac_recov_operation_err

§

KmacFatalFaultErr = 46

kmac_fatal_fault_err

§

OtbnFatal = 47

otbn_fatal

§

OtbnRecov = 48

otbn_recov

§

KeymgrRecovOperationErr = 49

keymgr_recov_operation_err

§

KeymgrFatalFaultErr = 50

keymgr_fatal_fault_err

§

CsrngRecovAlert = 51

csrng_recov_alert

§

CsrngFatalAlert = 52

csrng_fatal_alert

§

EntropySrcRecovAlert = 53

entropy_src_recov_alert

§

EntropySrcFatalAlert = 54

entropy_src_fatal_alert

§

Edn0RecovAlert = 55

edn0_recov_alert

§

Edn0FatalAlert = 56

edn0_fatal_alert

§

Edn1RecovAlert = 57

edn1_recov_alert

§

Edn1FatalAlert = 58

edn1_fatal_alert

§

SramCtrlMainFatalError = 59

sram_ctrl_main_fatal_error

§

RomCtrlFatal = 60

rom_ctrl_fatal

§

RvCoreIbexFatalSwErr = 61

rv_core_ibex_fatal_sw_err

§

RvCoreIbexRecovSwErr = 62

rv_core_ibex_recov_sw_err

§

RvCoreIbexFatalHwErr = 63

rv_core_ibex_fatal_hw_err

§

RvCoreIbexRecovHwErr = 64

rv_core_ibex_recov_hw_err

Trait Implementations§

Source§

impl Clone for AlertId

Source§

fn clone(&self) -> AlertId

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for AlertId

Source§

fn eq(&self, other: &AlertId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u32> for AlertId

Source§

type Error = u32

The type returned in the event of a conversion error.
Source§

fn try_from(val: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for AlertId

Source§

impl Eq for AlertId

Source§

impl StructuralPartialEq for AlertId

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.