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

Field MODE reader - CC Channel Mode

Implementations§

source§

impl MODE_R

source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

source

pub fn is_off(&self) -> bool

Checks if the value of the field is OFF

source

pub fn is_inputcapture(&self) -> bool

Checks if the value of the field is INPUTCAPTURE

source

pub fn is_outputcompare(&self) -> bool

Checks if the value of the field is OUTPUTCOMPARE

source

pub fn is_pwm(&self) -> bool

Checks if the value of the field is PWM