Type Alias nrf52840_pac::usbd::epdatastatus::EPIN2_R

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

Field EPIN2 reader - Acknowledged data transfer on this IN endpoint. 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_not_done(&self) -> bool

Checks if the value of the field is NOT_DONE

source

pub fn is_data_done(&self) -> bool

Checks if the value of the field is DATA_DONE