k210_pac::timer0::channel::control

Type Alias MODE_R

Source
pub type MODE_R = R<bool, MODE_A>;
Expand description

Reader of field mode

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

Source§

impl MODE_R

Source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

Source

pub fn is_free(&self) -> bool

Checks if the value of the field is FREE

Source

pub fn is_user(&self) -> bool

Checks if the value of the field is USER