Type Alias nrf52840_pac::usbd::intenset::ENDEPIN2_R
source · pub type ENDEPIN2_R = BitReader<ENDEPIN2_A>;
Expand description
Field ENDEPIN2
reader - Write ‘1’ to enable interrupt for ENDEPIN[2]
event
Aliased Type§
struct ENDEPIN2_R { /* private fields */ }
Implementations§
source§impl ENDEPIN2_R
impl ENDEPIN2_R
sourcepub fn variant(&self) -> ENDEPIN2_A
pub fn variant(&self) -> ENDEPIN2_A
Get enumerated values variant
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Checks if the value of the field is ENABLED