Type Definition atsam4ls8b_pac::usbc::uecfg7::EPDIR_R

source ·
pub type EPDIR_R = BitReader<EPDIRSELECT_A>;
Expand description

Field EPDIR reader - Endpoint Direction

Implementations§

source§

impl EPDIR_R

source

pub fn variant(&self) -> EPDIRSELECT_A

Get enumerated values variant

source

pub fn is_out(&self) -> bool

Checks if the value of the field is OUT

source

pub fn is_in(&self) -> bool

Checks if the value of the field is IN