[−][src]Struct sunrise_ahci::pci::PciConfigPortsPair
A struct tying the two pci config ports together.
Fields
address: Pio<u32>
The address port.
Write the '''address''' of the config-space register you want to access.
An address is formatted as follow:
- 31 Enable bit
- 30:24 Reserved
- 23:16 Bus Number
- 15:11 Device Number
- 10:8 Function Number
- 7:0 Register Offset
data: Pio<u32>
The data port.
After having put the address of the register you want in .address
,
read this port to retrieve its value.
Auto Trait Implementations
impl RefUnwindSafe for PciConfigPortsPair
impl Send for PciConfigPortsPair
impl Sync for PciConfigPortsPair
impl Unpin for PciConfigPortsPair
impl UnwindSafe for PciConfigPortsPair
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&self) -> usize
[src]
fn is_cool(addr: usize, size: usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(addr: usize, _size: usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(addr: usize, _size: usize) -> &'a mut T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,