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

source

pub fn variant(&self) -> POWER_SWITCHING_MODE_A

Get enumerated values variant

source

pub fn is_same_time(&self) -> bool

Checks if the value of the field is SAME_TIME

source

pub fn is_individual(&self) -> bool

Checks if the value of the field is INDIVIDUAL