Type Definition efm32gg11b_pac::efm32gg11b110::pcnt0::ctrl::CNTEV_R

source ·
pub type CNTEV_R = FieldReader<u8, CNTEV_A>;
Expand description

Field CNTEV reader - Controls When the Counter Counts

Implementations§

source§

impl CNTEV_R

source

pub fn variant(&self) -> CNTEV_A

Get enumerated values variant

source

pub fn is_both(&self) -> bool

Checks if the value of the field is BOTH

source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN

source

pub fn is_none(&self) -> bool

Checks if the value of the field is NONE