Type Definition atsam4ls8b_pac::usbc::uecfg4::EPTYPE_R

source ·
pub type EPTYPE_R = FieldReader<u8, EPTYPESELECT_A>;
Expand description

Field EPTYPE reader - Endpoint Type

Implementations§

source§

impl EPTYPE_R

source

pub fn variant(&self) -> EPTYPESELECT_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