pub struct OmapL3Noc {
modules: [MmioRegion; 3],
num_modules: usize,
error_count: AtomicU64,
power_state: PowerState,
saved_mask_app: [u32; 3],
saved_mask_dbg: [u32; 3],
}Fields§
§modules: [MmioRegion; 3]§num_modules: usize§error_count: AtomicU64§power_state: PowerState§saved_mask_app: [u32; 3]§saved_mask_dbg: [u32; 3]Implementations§
Source§impl OmapL3Noc
impl OmapL3Noc
Sourcepub fn init_module(&mut self, index: usize, base: usize, size: usize)
pub fn init_module(&mut self, index: usize, base: usize, size: usize)
Initializes module.
Sourcepub fn handle_target_error(
&self,
module: usize,
target_offset: usize,
) -> Result<ErrorInfo, BusError>
pub fn handle_target_error( &self, module: usize, target_offset: usize, ) -> Result<ErrorInfo, BusError>
Handles target error.
Sourcepub fn read_flagmux(&self, module: usize, inttype: usize) -> u32
pub fn read_flagmux(&self, module: usize, inttype: usize) -> u32
Reads flagmux.
Sourcepub fn mask_target(&self, module: usize, target_bit: u32, inttype: usize)
pub fn mask_target(&self, module: usize, target_bit: u32, inttype: usize)
Performs the mask target operation.
Trait Implementations§
Source§impl BusDriver for OmapL3Noc
impl BusDriver for OmapL3Noc
Source§fn compatible(&self) -> &[&str]
fn compatible(&self) -> &[&str]
Performs the compatible operation.
Source§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§fn as_firewall(&self) -> Option<&dyn FirewallController>
fn as_firewall(&self) -> Option<&dyn FirewallController>
Returns the optional [
FirewallController] capability, if any. Read moreAuto Trait Implementations§
impl !Freeze for OmapL3Noc
impl RefUnwindSafe for OmapL3Noc
impl Send for OmapL3Noc
impl Sync for OmapL3Noc
impl Unpin for OmapL3Noc
impl UnsafeUnpin for OmapL3Noc
impl UnwindSafe for OmapL3Noc
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