Type Alias nrf52840_pac::usbd::epstatus::EPIN2_R

source ·
pub type EPIN2_R = BitReader<EPIN2_A>;
Expand description

Field EPIN2 reader - Captured state of endpoint’s EasyDMA registers. Write ‘1’ to clear.

Aliased Type§

struct EPIN2_R { /* private fields */ }

Implementations§

source§

impl EPIN2_R

source

pub fn variant(&self) -> EPIN2_A

Get enumerated values variant

source

pub fn is_no_data(&self) -> bool

Checks if the value of the field is NO_DATA

source

pub fn is_data_done(&self) -> bool

Checks if the value of the field is DATA_DONE