Type Definition nrf5340_app_pac::usbd_ns::inten::ENDEPIN2_R
source · [−]pub type ENDEPIN2_R = BitReader<ENDEPIN2_A>;
Expand description
Field ENDEPIN2
reader - Enable or disable interrupt for event ENDEPIN[2]
Implementations
sourceimpl 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