Type Definition efm32gg11b_pac::efm32gg11b840::pcnt1::ctrl::MODE_R

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

Field MODE reader - Mode Select

Implementations§

source§

impl MODE_R

source

pub fn variant(&self) -> Option<MODE_A>

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

Checks if the value of the field is DISABLE

source

pub fn is_ovssingle(&self) -> bool

Checks if the value of the field is OVSSINGLE

source

pub fn is_extclksingle(&self) -> bool

Checks if the value of the field is EXTCLKSINGLE

source

pub fn is_extclkquad(&self) -> bool

Checks if the value of the field is EXTCLKQUAD

source

pub fn is_ovsquad1x(&self) -> bool

Checks if the value of the field is OVSQUAD1X

source

pub fn is_ovsquad2x(&self) -> bool

Checks if the value of the field is OVSQUAD2X

source

pub fn is_ovsquad4x(&self) -> bool

Checks if the value of the field is OVSQUAD4X