nrf52840_pac::usbd::inten

Type Alias ENDEPIN2_R

Source
pub type ENDEPIN2_R = BitReader<ENDEPIN2_A>;
Expand description

Field ENDEPIN2 reader - Enable or disable interrupt for ENDEPIN[2] event

Aliased Type§

struct ENDEPIN2_R { /* private fields */ }

Implementations§

Source§

impl ENDEPIN2_R

Source

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