Type Definition atsam4ls8c_pac::usbc::upcfg4::PTYPE_R
source · pub type PTYPE_R = FieldReader<u8, PTYPESELECT_A>;
Expand description
Field PTYPE
reader - Pipe Type
Implementations§
source§impl PTYPE_R
impl PTYPE_R
sourcepub fn variant(&self) -> PTYPESELECT_A
pub fn variant(&self) -> PTYPESELECT_A
Get enumerated values variant
sourcepub fn is_control(&self) -> bool
pub fn is_control(&self) -> bool
Checks if the value of the field is CONTROL
sourcepub fn is_isochronous(&self) -> bool
pub fn is_isochronous(&self) -> bool
Checks if the value of the field is ISOCHRONOUS
sourcepub fn is_interrupt(&self) -> bool
pub fn is_interrupt(&self) -> bool
Checks if the value of the field is INTERRUPT