Type Alias nrf52840_pac::usbd::intenset::EP0SETUP_R
source · pub type EP0SETUP_R = BitReader<EP0SETUP_A>;
Expand description
Field EP0SETUP
reader - Write ‘1’ to enable interrupt for EP0SETUP event
Aliased Type§
struct EP0SETUP_R { /* private fields */ }
Implementations§
source§impl EP0SETUP_R
impl EP0SETUP_R
sourcepub fn variant(&self) -> EP0SETUP_A
pub fn variant(&self) -> EP0SETUP_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