nrf52840_pac::usbd::bmrequesttype

Type Alias TYPE_R

Source
pub type TYPE_R = FieldReader<u8, TYPE_A>;
Expand description

Field TYPE reader - Data transfer type

Aliased Type§

struct TYPE_R { /* private fields */ }

Implementations§

Source§

impl TYPE_R

Source

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

Get enumerated values variant

Source

pub fn is_standard(&self) -> bool

Checks if the value of the field is STANDARD

Source

pub fn is_class(&self) -> bool

Checks if the value of the field is CLASS

Source

pub fn is_vendor(&self) -> bool

Checks if the value of the field is VENDOR