Struct lspci::config::BridgeControlRegister
source · pub struct BridgeControlRegister(pub u16);
Tuple Fields§
§0: u16
Implementations§
source§impl BridgeControlRegister
impl BridgeControlRegister
pub fn parity_error_response_en(&self) -> bool
pub fn serr_en(&self) -> bool
pub fn isa_en(&self) -> bool
pub fn vga_en(&self) -> bool
pub fn vga_16bit_decode(&self) -> bool
pub fn master_mode_abort(&self) -> bool
pub fn secondary_bus_reset(&self) -> bool
pub fn fb2b_en(&self) -> bool
pub fn primary_discard_timer(&self) -> bool
pub fn secondary_discard_timer(&self) -> bool
pub fn discard_timer_status(&self) -> bool
pub fn discard_timer_serr_en(&self) -> bool
Trait Implementations§
source§impl<T> BitRange<T> for BridgeControlRegisterwhere
u16: BitRange<T>,
impl<T> BitRange<T> for BridgeControlRegisterwhere
u16: BitRange<T>,
source§impl<T> BitRangeMut<T> for BridgeControlRegisterwhere
u16: BitRangeMut<T>,
impl<T> BitRangeMut<T> for BridgeControlRegisterwhere
u16: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Auto Trait Implementations§
impl Freeze for BridgeControlRegister
impl RefUnwindSafe for BridgeControlRegister
impl Send for BridgeControlRegister
impl Sync for BridgeControlRegister
impl Unpin for BridgeControlRegister
impl UnwindSafe for BridgeControlRegister
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