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

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