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