nrf52840_pac::usbd::bmrequesttype

Type Alias RECIPIENT_R

Source
pub type RECIPIENT_R = FieldReader<u8, RECIPIENT_A>;
Expand description

Field RECIPIENT reader - Data transfer type

Aliased Type§

struct RECIPIENT_R { /* private fields */ }

Implementations§

Source§

impl RECIPIENT_R

Source

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

Get enumerated values variant

Source

pub fn is_device(&self) -> bool

Checks if the value of the field is DEVICE

Source

pub fn is_interface(&self) -> bool

Checks if the value of the field is INTERFACE

Source

pub fn is_endpoint(&self) -> bool

Checks if the value of the field is ENDPOINT

Source

pub fn is_other(&self) -> bool

Checks if the value of the field is OTHER