pub struct Stm32Rifsc {
regs: MmioRegion,
nb_risup: u32,
nb_rimu: u32,
nb_risal: u32,
power_state: PowerState,
children: Vec<BusChild>,
}Fields§
§regs: MmioRegion§nb_risup: u32§nb_rimu: u32§nb_risal: u32§power_state: PowerState§children: Vec<BusChild>Implementations§
Source§impl Stm32Rifsc
impl Stm32Rifsc
Sourcefn read_hwcfg(&mut self)
fn read_hwcfg(&mut self)
Reads hwcfg.
Sourcefn is_privileged(&self, id: u32) -> bool
fn is_privileged(&self, id: u32) -> bool
Returns whether privileged.
Sourcefn cidcfgr_offset(id: u32) -> usize
fn cidcfgr_offset(id: u32) -> usize
Performs the cidcfgr offset operation.
Sourcefn semcr_offset(id: u32) -> usize
fn semcr_offset(id: u32) -> usize
Performs the semcr offset operation.
Sourcefn acquire_semaphore(&self, id: u32) -> Result<(), BusError>
fn acquire_semaphore(&self, id: u32) -> Result<(), BusError>
Performs the acquire semaphore operation.
Sourcefn release_semaphore(&self, id: u32)
fn release_semaphore(&self, id: u32)
Performs the release semaphore operation.
Trait Implementations§
Source§impl BusDriver for Stm32Rifsc
impl BusDriver for Stm32Rifsc
Source§impl FirewallController for Stm32Rifsc
impl FirewallController for Stm32Rifsc
Source§fn firewall_type(&self) -> FirewallType
fn firewall_type(&self) -> FirewallType
Performs the firewall type operation.
Source§fn max_entries(&self) -> u32
fn max_entries(&self) -> u32
Performs the max entries operation.
Source§fn grant_access(&self, firewall_id: u32) -> Result<(), BusError>
fn grant_access(&self, firewall_id: u32) -> Result<(), BusError>
Performs the grant access operation.
Auto Trait Implementations§
impl Freeze for Stm32Rifsc
impl RefUnwindSafe for Stm32Rifsc
impl Send for Stm32Rifsc
impl Sync for Stm32Rifsc
impl Unpin for Stm32Rifsc
impl UnsafeUnpin for Stm32Rifsc
impl UnwindSafe for Stm32Rifsc
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