pub type PORT_OVER_CURRENT_INDICATOR_CHANGE_R = BitReader<PORT_OVER_CURRENT_INDICATOR_CHANGE_A>;
Expand description

Field port_over_current_indicator_change reader - This bit is valid only if overcurrent conditions are reported on a per-port basis. This bit is set when Root Hub changes the PortOverCurrentIndicator bit. The HCD writes a ‘1’ to clear this bit. Writing a ‘0’ has no effect.

Aliased Type§

struct PORT_OVER_CURRENT_INDICATOR_CHANGE_R { /* private fields */ }

Implementations§

source§

impl PORT_OVER_CURRENT_INDICATOR_CHANGE_R

source

pub fn variant(&self) -> PORT_OVER_CURRENT_INDICATOR_CHANGE_A

Get enumerated values variant

source

pub fn is_no_change(&self) -> bool

Checks if the value of the field is NO_CHANGE

source

pub fn is_change(&self) -> bool

Checks if the value of the field is CHANGE