Enum PlicPeripheral

Source
#[repr(u32)]
pub enum PlicPeripheral {
Show 31 variants Unknown = 0, Uart0 = 1, Uart1 = 2, Uart2 = 3, Uart3 = 4, Gpio = 5, SpiDevice = 6, I2c0 = 7, I2c1 = 8, I2c2 = 9, Pattgen = 10, RvTimer = 11, OtpCtrl = 12, AlertHandler = 13, SpiHost0 = 14, SpiHost1 = 15, Usbdev = 16, PwrmgrAon = 17, SysrstCtrlAon = 18, AdcCtrlAon = 19, AonTimerAon = 20, SensorCtrl = 21, FlashCtrl = 22, Hmac = 23, Kmac = 24, Otbn = 25, Keymgr = 26, Csrng = 27, EntropySrc = 28, Edn0 = 29, Edn1 = 30,
}
Expand description

PLIC Interrupt Source Peripheral.

Enumeration used to determine which peripheral asserted the corresponding interrupt.

Variants§

§

Unknown = 0

Unknown Peripheral

§

Uart0 = 1

uart0

§

Uart1 = 2

uart1

§

Uart2 = 3

uart2

§

Uart3 = 4

uart3

§

Gpio = 5

gpio

§

SpiDevice = 6

spi_device

§

I2c0 = 7

i2c0

§

I2c1 = 8

i2c1

§

I2c2 = 9

i2c2

§

Pattgen = 10

pattgen

§

RvTimer = 11

rv_timer

§

OtpCtrl = 12

otp_ctrl

§

AlertHandler = 13

alert_handler

§

SpiHost0 = 14

spi_host0

§

SpiHost1 = 15

spi_host1

§

Usbdev = 16

usbdev

§

PwrmgrAon = 17

pwrmgr_aon

§

SysrstCtrlAon = 18

sysrst_ctrl_aon

§

AdcCtrlAon = 19

adc_ctrl_aon

§

AonTimerAon = 20

aon_timer_aon

§

SensorCtrl = 21

sensor_ctrl

§

FlashCtrl = 22

flash_ctrl

§

Hmac = 23

hmac

§

Kmac = 24

kmac

§

Otbn = 25

otbn

§

Keymgr = 26

keymgr

§

Csrng = 27

csrng

§

EntropySrc = 28

entropy_src

§

Edn0 = 29

edn0

§

Edn1 = 30

edn1

Trait Implementations§

Source§

impl Clone for PlicPeripheral

Source§

fn clone(&self) -> PlicPeripheral

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 PlicPeripheral

Source§

fn eq(&self, other: &PlicPeripheral) -> 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 PlicPeripheral

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 PlicPeripheral

Source§

impl Eq for PlicPeripheral

Source§

impl StructuralPartialEq for PlicPeripheral

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.