Struct hpm5361_pac::PLIC

source ·
pub struct PLIC { /* private fields */ }
Expand description

PLIC

Implementations§

source§

impl PLIC

source

pub const PTR: *const RegisterBlock = {0xe4000000 as *const plic::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

source

pub fn feature(&self) -> &FEATURE

0x00 - Feature enable register

source

pub fn priority(&self, n: usize) -> &PRIORITY

0x04..0x200 - no description available

source

pub fn priority_iter(&self) -> impl Iterator<Item = &PRIORITY>

Iterator for array of: 0x04..0x200 - no description available

source

pub fn prioritypriority1(&self) -> &PRIORITY

0x04 - no description available

source

pub fn prioritypriority2(&self) -> &PRIORITY

0x08 - no description available

source

pub fn prioritypriority3(&self) -> &PRIORITY

0x0c - no description available

source

pub fn prioritypriority4(&self) -> &PRIORITY

0x10 - no description available

source

pub fn prioritypriority5(&self) -> &PRIORITY

0x14 - no description available

source

pub fn prioritypriority6(&self) -> &PRIORITY

0x18 - no description available

source

pub fn prioritypriority7(&self) -> &PRIORITY

0x1c - no description available

source

pub fn prioritypriority8(&self) -> &PRIORITY

0x20 - no description available

source

pub fn prioritypriority9(&self) -> &PRIORITY

0x24 - no description available

source

pub fn prioritypriority10(&self) -> &PRIORITY

0x28 - no description available

source

pub fn prioritypriority11(&self) -> &PRIORITY

0x2c - no description available

source

pub fn prioritypriority12(&self) -> &PRIORITY

0x30 - no description available

source

pub fn prioritypriority13(&self) -> &PRIORITY

0x34 - no description available

source

pub fn prioritypriority14(&self) -> &PRIORITY

0x38 - no description available

source

pub fn prioritypriority15(&self) -> &PRIORITY

0x3c - no description available

source

pub fn prioritypriority16(&self) -> &PRIORITY

0x40 - no description available

source

pub fn prioritypriority17(&self) -> &PRIORITY

0x44 - no description available

source

pub fn prioritypriority18(&self) -> &PRIORITY

0x48 - no description available

source

pub fn prioritypriority19(&self) -> &PRIORITY

0x4c - no description available

source

pub fn prioritypriority20(&self) -> &PRIORITY

0x50 - no description available

source

pub fn prioritypriority21(&self) -> &PRIORITY

0x54 - no description available

source

pub fn prioritypriority22(&self) -> &PRIORITY

0x58 - no description available

source

pub fn prioritypriority23(&self) -> &PRIORITY

0x5c - no description available

source

pub fn prioritypriority24(&self) -> &PRIORITY

0x60 - no description available

source

pub fn prioritypriority25(&self) -> &PRIORITY

0x64 - no description available

source

pub fn prioritypriority26(&self) -> &PRIORITY

0x68 - no description available

source

pub fn prioritypriority27(&self) -> &PRIORITY

0x6c - no description available

source

pub fn prioritypriority28(&self) -> &PRIORITY

0x70 - no description available

source

pub fn prioritypriority29(&self) -> &PRIORITY

0x74 - no description available

source

pub fn prioritypriority30(&self) -> &PRIORITY

0x78 - no description available

source

pub fn prioritypriority31(&self) -> &PRIORITY

0x7c - no description available

source

pub fn prioritypriority32(&self) -> &PRIORITY

0x80 - no description available

source

pub fn prioritypriority33(&self) -> &PRIORITY

0x84 - no description available

source

pub fn prioritypriority34(&self) -> &PRIORITY

0x88 - no description available

source

pub fn prioritypriority35(&self) -> &PRIORITY

0x8c - no description available

source

pub fn prioritypriority36(&self) -> &PRIORITY

0x90 - no description available

source

pub fn prioritypriority37(&self) -> &PRIORITY

0x94 - no description available

source

pub fn prioritypriority38(&self) -> &PRIORITY

0x98 - no description available

source

pub fn prioritypriority39(&self) -> &PRIORITY

0x9c - no description available

source

pub fn prioritypriority40(&self) -> &PRIORITY

0xa0 - no description available

source

pub fn prioritypriority41(&self) -> &PRIORITY

0xa4 - no description available

source

pub fn prioritypriority42(&self) -> &PRIORITY

0xa8 - no description available

source

pub fn prioritypriority43(&self) -> &PRIORITY

0xac - no description available

source

pub fn prioritypriority44(&self) -> &PRIORITY

0xb0 - no description available

source

pub fn prioritypriority45(&self) -> &PRIORITY

0xb4 - no description available

source

pub fn prioritypriority46(&self) -> &PRIORITY

0xb8 - no description available

source

pub fn prioritypriority47(&self) -> &PRIORITY

0xbc - no description available

source

pub fn prioritypriority48(&self) -> &PRIORITY

0xc0 - no description available

source

pub fn prioritypriority49(&self) -> &PRIORITY

0xc4 - no description available

source

pub fn prioritypriority50(&self) -> &PRIORITY

0xc8 - no description available

source

pub fn prioritypriority51(&self) -> &PRIORITY

0xcc - no description available

source

pub fn prioritypriority52(&self) -> &PRIORITY

0xd0 - no description available

source

pub fn prioritypriority53(&self) -> &PRIORITY

0xd4 - no description available

source

pub fn prioritypriority54(&self) -> &PRIORITY

0xd8 - no description available

source

pub fn prioritypriority55(&self) -> &PRIORITY

0xdc - no description available

source

pub fn prioritypriority56(&self) -> &PRIORITY

0xe0 - no description available

source

pub fn prioritypriority57(&self) -> &PRIORITY

0xe4 - no description available

source

pub fn prioritypriority58(&self) -> &PRIORITY

0xe8 - no description available

source

pub fn prioritypriority59(&self) -> &PRIORITY

0xec - no description available

source

pub fn prioritypriority60(&self) -> &PRIORITY

0xf0 - no description available

source

pub fn prioritypriority61(&self) -> &PRIORITY

0xf4 - no description available

source

pub fn prioritypriority62(&self) -> &PRIORITY

0xf8 - no description available

source

pub fn prioritypriority63(&self) -> &PRIORITY

0xfc - no description available

source

pub fn prioritypriority64(&self) -> &PRIORITY

0x100 - no description available

source

pub fn prioritypriority65(&self) -> &PRIORITY

0x104 - no description available

source

pub fn prioritypriority66(&self) -> &PRIORITY

0x108 - no description available

source

pub fn prioritypriority67(&self) -> &PRIORITY

0x10c - no description available

source

pub fn prioritypriority68(&self) -> &PRIORITY

0x110 - no description available

source

pub fn prioritypriority69(&self) -> &PRIORITY

0x114 - no description available

source

pub fn prioritypriority70(&self) -> &PRIORITY

0x118 - no description available

source

pub fn prioritypriority71(&self) -> &PRIORITY

0x11c - no description available

source

pub fn prioritypriority72(&self) -> &PRIORITY

0x120 - no description available

source

pub fn prioritypriority73(&self) -> &PRIORITY

0x124 - no description available

source

pub fn prioritypriority74(&self) -> &PRIORITY

0x128 - no description available

source

pub fn prioritypriority75(&self) -> &PRIORITY

0x12c - no description available

source

pub fn prioritypriority76(&self) -> &PRIORITY

0x130 - no description available

source

pub fn prioritypriority77(&self) -> &PRIORITY

0x134 - no description available

source

pub fn prioritypriority78(&self) -> &PRIORITY

0x138 - no description available

source

pub fn prioritypriority79(&self) -> &PRIORITY

0x13c - no description available

source

pub fn prioritypriority80(&self) -> &PRIORITY

0x140 - no description available

source

pub fn prioritypriority81(&self) -> &PRIORITY

0x144 - no description available

source

pub fn prioritypriority82(&self) -> &PRIORITY

0x148 - no description available

source

pub fn prioritypriority83(&self) -> &PRIORITY

0x14c - no description available

source

pub fn prioritypriority84(&self) -> &PRIORITY

0x150 - no description available

source

pub fn prioritypriority85(&self) -> &PRIORITY

0x154 - no description available

source

pub fn prioritypriority86(&self) -> &PRIORITY

0x158 - no description available

source

pub fn prioritypriority87(&self) -> &PRIORITY

0x15c - no description available

source

pub fn prioritypriority88(&self) -> &PRIORITY

0x160 - no description available

source

pub fn prioritypriority89(&self) -> &PRIORITY

0x164 - no description available

source

pub fn prioritypriority90(&self) -> &PRIORITY

0x168 - no description available

source

pub fn prioritypriority91(&self) -> &PRIORITY

0x16c - no description available

source

pub fn prioritypriority92(&self) -> &PRIORITY

0x170 - no description available

source

pub fn prioritypriority93(&self) -> &PRIORITY

0x174 - no description available

source

pub fn prioritypriority94(&self) -> &PRIORITY

0x178 - no description available

source

pub fn prioritypriority95(&self) -> &PRIORITY

0x17c - no description available

source

pub fn prioritypriority96(&self) -> &PRIORITY

0x180 - no description available

source

pub fn prioritypriority97(&self) -> &PRIORITY

0x184 - no description available

source

pub fn prioritypriority98(&self) -> &PRIORITY

0x188 - no description available

source

pub fn prioritypriority99(&self) -> &PRIORITY

0x18c - no description available

source

pub fn prioritypriority100(&self) -> &PRIORITY

0x190 - no description available

source

pub fn prioritypriority101(&self) -> &PRIORITY

0x194 - no description available

source

pub fn prioritypriority102(&self) -> &PRIORITY

0x198 - no description available

source

pub fn prioritypriority103(&self) -> &PRIORITY

0x19c - no description available

source

pub fn prioritypriority104(&self) -> &PRIORITY

0x1a0 - no description available

source

pub fn prioritypriority105(&self) -> &PRIORITY

0x1a4 - no description available

source

pub fn prioritypriority106(&self) -> &PRIORITY

0x1a8 - no description available

source

pub fn prioritypriority107(&self) -> &PRIORITY

0x1ac - no description available

source

pub fn prioritypriority108(&self) -> &PRIORITY

0x1b0 - no description available

source

pub fn prioritypriority109(&self) -> &PRIORITY

0x1b4 - no description available

source

pub fn prioritypriority110(&self) -> &PRIORITY

0x1b8 - no description available

source

pub fn prioritypriority111(&self) -> &PRIORITY

0x1bc - no description available

source

pub fn prioritypriority112(&self) -> &PRIORITY

0x1c0 - no description available

source

pub fn prioritypriority113(&self) -> &PRIORITY

0x1c4 - no description available

source

pub fn prioritypriority114(&self) -> &PRIORITY

0x1c8 - no description available

source

pub fn prioritypriority115(&self) -> &PRIORITY

0x1cc - no description available

source

pub fn prioritypriority116(&self) -> &PRIORITY

0x1d0 - no description available

source

pub fn prioritypriority117(&self) -> &PRIORITY

0x1d4 - no description available

source

pub fn prioritypriority118(&self) -> &PRIORITY

0x1d8 - no description available

source

pub fn prioritypriority119(&self) -> &PRIORITY

0x1dc - no description available

source

pub fn prioritypriority120(&self) -> &PRIORITY

0x1e0 - no description available

source

pub fn prioritypriority121(&self) -> &PRIORITY

0x1e4 - no description available

source

pub fn prioritypriority122(&self) -> &PRIORITY

0x1e8 - no description available

source

pub fn prioritypriority123(&self) -> &PRIORITY

0x1ec - no description available

source

pub fn prioritypriority124(&self) -> &PRIORITY

0x1f0 - no description available

source

pub fn prioritypriority125(&self) -> &PRIORITY

0x1f4 - no description available

source

pub fn prioritypriority126(&self) -> &PRIORITY

0x1f8 - no description available

source

pub fn prioritypriority127(&self) -> &PRIORITY

0x1fc - no description available

source

pub fn pending(&self, n: usize) -> &PENDING

0x1000..0x1010 - no description available

source

pub fn pending_iter(&self) -> impl Iterator<Item = &PENDING>

Iterator for array of: 0x1000..0x1010 - no description available

source

pub fn pendingpending0(&self) -> &PENDING

0x1000 - no description available

source

pub fn pendingpending1(&self) -> &PENDING

0x1004 - no description available

source

pub fn pendingpending2(&self) -> &PENDING

0x1008 - no description available

source

pub fn pendingpending3(&self) -> &PENDING

0x100c - no description available

source

pub fn trigger(&self, n: usize) -> &TRIGGER

0x1080..0x1090 - no description available

source

pub fn trigger_iter(&self) -> impl Iterator<Item = &TRIGGER>

Iterator for array of: 0x1080..0x1090 - no description available

source

pub fn triggertrigger0(&self) -> &TRIGGER

0x1080 - no description available

source

pub fn triggertrigger1(&self) -> &TRIGGER

0x1084 - no description available

source

pub fn triggertrigger2(&self) -> &TRIGGER

0x1088 - no description available

source

pub fn triggertrigger3(&self) -> &TRIGGER

0x108c - no description available

source

pub fn number(&self) -> &NUMBER

0x1100 - Number of supported interrupt sources and targets

source

pub fn info(&self) -> &INFO

0x1104 - Version and the maximum priority

source

pub fn targetint(&self, n: usize) -> &TARGETINT

0x2000..0x2010 - no description available

source

pub fn targetint_iter(&self) -> impl Iterator<Item = &TARGETINT>

Iterator for array of: 0x2000..0x2010 - no description available

source

pub fn targetinttarget0(&self) -> &TARGETINT

0x2000..0x2010 - no description available

source

pub fn targetconfig(&self, n: usize) -> &TARGETCONFIG

0x200000..0x200404 - no description available

source

pub fn targetconfig_iter(&self) -> impl Iterator<Item = &TARGETCONFIG>

Iterator for array of: 0x200000..0x200404 - no description available

source

pub fn targetconfigtarget0(&self) -> &TARGETCONFIG

0x200000..0x200404 - no description available

Trait Implementations§

source§

impl Debug for PLIC

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PLIC

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for PLIC

Auto Trait Implementations§

§

impl RefUnwindSafe for PLIC

§

impl !Sync for PLIC

§

impl Unpin for PLIC

§

impl UnwindSafe for PLIC

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> 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>,

§

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>,

§

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.