Type Alias nrf52840_pac::usbd::intenset::USBEVENT_R

source ·
pub type USBEVENT_R = BitReader<USBEVENT_A>;
Expand description

Field USBEVENT reader - Write ‘1’ to enable 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