nrf52840_pac::usbd::dtoggle

Type Alias VALUE_R

Source
pub type VALUE_R = FieldReader<u8, VALUE_A>;
Expand description

Field VALUE reader - Data toggle value

Aliased Type§

struct VALUE_R { /* private fields */ }

Implementations§

Source§

impl VALUE_R

Source

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

Get enumerated values variant

Source

pub fn is_nop(&self) -> bool

Checks if the value of the field is NOP

Source

pub fn is_data0(&self) -> bool

Checks if the value of the field is DATA0

Source

pub fn is_data1(&self) -> bool

Checks if the value of the field is DATA1