Type Alias d1_pac::usb1::ohci_root_hub_partition::hc_rh_descriptor_a::POWER_SWITCHING_MODE_R
source · pub type POWER_SWITCHING_MODE_R = BitReader<POWER_SWITCHING_MODE_A>;
Expand description
Field power_switching_mode
reader - PowerSwitchingMode
This bit is used to specify how the power switching of the Root Hub ports is controlled. It is implementation-specific. This field is only valid if the NoPowerSwitching field is cleared.
Aliased Type§
struct POWER_SWITCHING_MODE_R { /* private fields */ }
Implementations§
source§impl POWER_SWITCHING_MODE_R
impl POWER_SWITCHING_MODE_R
sourcepub fn variant(&self) -> POWER_SWITCHING_MODE_A
pub fn variant(&self) -> POWER_SWITCHING_MODE_A
Get enumerated values variant
sourcepub fn is_same_time(&self) -> bool
pub fn is_same_time(&self) -> bool
Checks if the value of the field is SAME_TIME
sourcepub fn is_individual(&self) -> bool
pub fn is_individual(&self) -> bool
Checks if the value of the field is INDIVIDUAL