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
impl RECIPIENT_R
sourcepub fn variant(&self) -> Option<RECIPIENT_A>
pub fn variant(&self) -> Option<RECIPIENT_A>
Get enumerated values variant
sourcepub fn is_interface(&self) -> bool
pub fn is_interface(&self) -> bool
Checks if the value of the field is INTERFACE
sourcepub fn is_endpoint(&self) -> bool
pub fn is_endpoint(&self) -> bool
Checks if the value of the field is ENDPOINT