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