Type Alias nrf52840_pac::usbd::eventcause::SUSPEND_R

source ·
pub type SUSPEND_R = BitReader<SUSPEND_A>;
Expand description

Field SUSPEND reader - Signals that USB lines have been idle long enough for the device to enter suspend. Write ‘1’ to clear.

Aliased Type§

struct SUSPEND_R { /* private fields */ }

Implementations§

source§

impl SUSPEND_R

source

pub fn variant(&self) -> SUSPEND_A

Get enumerated values variant

source

pub fn is_not_detected(&self) -> bool

Checks if the value of the field is NOT_DETECTED

source

pub fn is_detected(&self) -> bool

Checks if the value of the field is DETECTED