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§fn as_firewall(&self) -> Option<&dyn FirewallController>
fn as_firewall(&self) -> Option<&dyn FirewallController>
Exposes the firewall capability to the scheme server.
Source§fn compatible(&self) -> &[&str]
fn compatible(&self) -> &[&str]
Performs the compatible operation.
Source§fn probe(&self) -> bool
fn probe(&self) -> bool
Returns
true if the driver believes the hardware is present. Read moreSource§fn error_count(&self) -> u64
fn error_count(&self) -> u64
Performs the error count operation.
Source§fn handle_irq(&mut self) -> bool
fn handle_irq(&mut self) -> bool
Handles irq.
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