nrf52840_pac::usbd::inten

Type Alias USBEVENT_R

Source
pub type USBEVENT_R = BitReader<USBEVENT_A>;
Expand description

Field USBEVENT reader - Enable or disable interrupt for USBEVENT event

Aliased Type§

struct USBEVENT_R { /* private fields */ }

Implementations§

Source§

impl USBEVENT_R

Source

pub fn variant(&self) -> USBEVENT_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED