Type Definition efm32gg11b_pac::efm32gg11b840::timer6::ctrl::MODE_R

source ·
pub type MODE_R = FieldReader<u8, MODE_A>;
Expand description

Field MODE reader - Timer Mode

Implementations§

source§

impl MODE_R

source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

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_updown(&self) -> bool

Checks if the value of the field is UPDOWN

source

pub fn is_qdec(&self) -> bool

Checks if the value of the field is QDEC