#[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
impl Clone for PlicPeripheral
Source§fn clone(&self) -> PlicPeripheral
fn clone(&self) -> PlicPeripheral
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for PlicPeripheral
impl PartialEq for PlicPeripheral
Source§impl TryFrom<u32> for PlicPeripheral
impl TryFrom<u32> for PlicPeripheral
impl Copy for PlicPeripheral
impl Eq for PlicPeripheral
impl StructuralPartialEq for PlicPeripheral
Auto Trait Implementations§
impl Freeze for PlicPeripheral
impl RefUnwindSafe for PlicPeripheral
impl Send for PlicPeripheral
impl Sync for PlicPeripheral
impl Unpin for PlicPeripheral
impl UnwindSafe for PlicPeripheral
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more