nrf52840_pac::usbd::dpdmvalue

Type Alias STATE_R

Source
pub type STATE_R = FieldReader<u8, STATE_A>;
Expand description

Field STATE reader - State D+ and D- lines will be forced into by the DPDMDRIVE task

Aliased Type§

struct STATE_R { /* private fields */ }

Implementations§

Source§

impl STATE_R

Source

pub fn variant(&self) -> Option<STATE_A>

Get enumerated values variant

Source

pub fn is_resume(&self) -> bool

Checks if the value of the field is RESUME

Source

pub fn is_j(&self) -> bool

Checks if the value of the field is J

Source

pub fn is_k(&self) -> bool

Checks if the value of the field is K