pub struct EcamAccess {
base: *mut u8,
}Expand description
ECAM (PCIe Enhanced Configuration Access Mechanism) implementation.
Fields§
§base: *mut u8Base address of ECAM region.
Implementations§
Trait Implementations§
Source§impl ConfigAccess for EcamAccess
impl ConfigAccess for EcamAccess
Source§unsafe fn read32(&self, device: DeviceFunction, offset: u8) -> u32
unsafe fn read32(&self, device: DeviceFunction, offset: u8) -> u32
Read a 32-bit value from configuration space. Read more
Source§unsafe fn write32(&self, device: DeviceFunction, offset: u8, value: u32)
unsafe fn write32(&self, device: DeviceFunction, offset: u8, value: u32)
Write a 32-bit value to configuration space. Read more
impl Send for EcamAccess
impl Sync for EcamAccess
Auto Trait Implementations§
impl Freeze for EcamAccess
impl RefUnwindSafe for EcamAccess
impl Unpin for EcamAccess
impl UnwindSafe for EcamAccess
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