nrf52840_pac::usbd::lowpower

Type Alias LOWPOWER_R

Source
pub type LOWPOWER_R = BitReader<LOWPOWER_A>;
Expand description

Field LOWPOWER reader - Controls USBD peripheral low-power mode during USB suspend

Aliased Type§

struct LOWPOWER_R { /* private fields */ }

Implementations§

Source§

impl LOWPOWER_R

Source

pub fn variant(&self) -> LOWPOWER_A

Get enumerated values variant

Source

pub fn is_force_normal(&self) -> bool

Checks if the value of the field is FORCE_NORMAL

Source

pub fn is_low_power(&self) -> bool

Checks if the value of the field is LOW_POWER