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