Type Alias nrf52840_pac::usbd::intenset::EPDATA_R

source ·
pub type EPDATA_R = BitReader<EPDATA_A>;
Expand description

Field EPDATA reader - Write ‘1’ to enable interrupt for EPDATA event

Aliased Type§

struct EPDATA_R { /* private fields */ }

Implementations§

source§

impl EPDATA_R

source

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