nrf52840_pac::usbd::intenset

Type Alias USBRESET_R

Source
pub type USBRESET_R = BitReader<USBRESET_A>;
Expand description

Field USBRESET reader - Write ‘1’ to enable interrupt for USBRESET event

Aliased Type§

struct USBRESET_R { /* private fields */ }

Implementations§

Source§

impl USBRESET_R

Source

pub fn variant(&self) -> USBRESET_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