Type Definition atsam4ls8b_pac::usbc::uesta2::CTRLDIR_R

source ·
pub type CTRLDIR_R = BitReader<CTRLDIRSELECT_A>;
Expand description

Field CTRLDIR reader - Control Direction

Implementations§

source§

impl CTRLDIR_R

source

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