Type Alias nrf52840_pac::usbd::dpdmvalue::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