pub struct Bt1Axi {
qos_regs: MmioRegion,
sys_regs: MmioRegion,
error_count: AtomicU64,
power_state: PowerState,
}Fields§
§qos_regs: MmioRegion§sys_regs: MmioRegion§error_count: AtomicU64§power_state: PowerStateImplementations§
Source§impl Bt1Axi
impl Bt1Axi
Sourcepub fn init_sys_regs(&mut self, base: usize, size: usize)
pub fn init_sys_regs(&mut self, base: usize, size: usize)
Initializes sys regs.
Sourcepub fn read_error_info(&self) -> Option<AxiErrorInfo>
pub fn read_error_info(&self) -> Option<AxiErrorInfo>
Reads error info.
Trait Implementations§
Source§impl BusDriver for Bt1Axi
impl BusDriver for Bt1Axi
Auto Trait Implementations§
impl !Freeze for Bt1Axi
impl RefUnwindSafe for Bt1Axi
impl Send for Bt1Axi
impl Sync for Bt1Axi
impl Unpin for Bt1Axi
impl UnsafeUnpin for Bt1Axi
impl UnwindSafe for Bt1Axi
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