Struct xhci::registers::operational::ConfigureRegister
source · #[repr(transparent)]pub struct ConfigureRegister(_);
Expand description
Configure Register
Implementations§
source§impl ConfigureRegister
impl ConfigureRegister
sourcepub fn max_device_slots_enabled(self) -> u8
pub fn max_device_slots_enabled(self) -> u8
Returns the value of the Max Device Slots Enabled field.
sourcepub fn set_max_device_slots_enabled(&mut self, value: u8) -> &mut Self
pub fn set_max_device_slots_enabled(&mut self, value: u8) -> &mut Self
Sets the value of the Max Device Slots Enabled field.
sourcepub fn u3_entry_enable(self) -> bool
pub fn u3_entry_enable(self) -> bool
Returns the U3 Entry Enable bit.
sourcepub fn set_u3_entry_enable(&mut self) -> &mut Self
pub fn set_u3_entry_enable(&mut self) -> &mut Self
Sets the U3 Entry Enable bit.
sourcepub fn clear_u3_entry_enable(&mut self) -> &mut Self
pub fn clear_u3_entry_enable(&mut self) -> &mut Self
Clears the U3 Entry Enable bit.
sourcepub fn configuration_information_enable(self) -> bool
pub fn configuration_information_enable(self) -> bool
Returns the Configuration Information Enable bit.
sourcepub fn set_configuration_information_enable(&mut self) -> &mut Self
pub fn set_configuration_information_enable(&mut self) -> &mut Self
Sets the Configuration Information Enable bit.
sourcepub fn clear_configuration_information_enable(&mut self) -> &mut Self
pub fn clear_configuration_information_enable(&mut self) -> &mut Self
Clears the Configuration Information Enable bit.
Trait Implementations§
source§impl Clone for ConfigureRegister
impl Clone for ConfigureRegister
source§fn clone(&self) -> ConfigureRegister
fn clone(&self) -> ConfigureRegister
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConfigureRegister
impl Debug for ConfigureRegister
impl Copy for ConfigureRegister
Auto Trait Implementations§
impl RefUnwindSafe for ConfigureRegister
impl Send for ConfigureRegister
impl Sync for ConfigureRegister
impl Unpin for ConfigureRegister
impl UnwindSafe for ConfigureRegister
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