pub struct Normal {
pub base_addresses: BaseAddresses<6>,
pub cardbus_cis_pointer: u32,
pub sub_vendor_id: u16,
pub sub_device_id: u16,
pub expansion_rom: ExpansionRom,
pub min_grant: u8,
pub max_latency: u8,
}
Expand description
General device (Type 00h)
Fields§
§base_addresses: BaseAddresses<6>
§cardbus_cis_pointer: u32
Points to the Card Information Structure and is used by devices that share silicon between CardBus and PCI.
sub_vendor_id: u16
Subsystem Vendor ID
sub_device_id: u16
Subsystem Device ID
expansion_rom: ExpansionRom
Expansion ROM
min_grant: u8
A read-only register that specifies the burst period length, in 1/4 microsecond units, that the device needs (assuming a 33 MHz clock rate).
max_latency: u8
A read-only register that specifies how often the device needs access to the PCI bus (in 1/4 microsecond units).
Trait Implementations§
impl Eq for Normal
impl StructuralPartialEq for Normal
Auto Trait Implementations§
impl Freeze for Normal
impl RefUnwindSafe for Normal
impl Send for Normal
impl Sync for Normal
impl Unpin for Normal
impl UnwindSafe for Normal
Blanket Implementations§
Source§impl<T> AsPrimitive<()> for T
impl<T> AsPrimitive<()> for T
fn as_primitive(self)
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