Type Definition atsam4ls8b_pac::usbc::upcfg0::PTYPE_R

source ·
pub type PTYPE_R = FieldReader<u8, PTYPESELECT_A>;
Expand description

Field PTYPE reader - Pipe Type

Implementations§

source§

impl PTYPE_R

source

pub fn variant(&self) -> PTYPESELECT_A

Get enumerated values variant

source

pub fn is_control(&self) -> bool

Checks if the value of the field is CONTROL

source

pub fn is_isochronous(&self) -> bool

Checks if the value of the field is ISOCHRONOUS

source

pub fn is_bulk(&self) -> bool

Checks if the value of the field is BULK

source

pub fn is_interrupt(&self) -> bool

Checks if the value of the field is INTERRUPT