Skip to main content

ModeR

Type Alias ModeR 

Source
pub type ModeR = FieldReader<Mode>;
Expand description

Field mode reader - Timer mode: 00=free running; 01=one-shot; 10=periodic

Aliased Type§

pub struct ModeR { /* private fields */ }

Implementations§

Source§

impl ModeR

Source

pub const fn variant(&self) -> Option<Mode>

Get enumerated values variant

Source

pub fn is_free_running(&self) -> bool

Free-running mode

Source

pub fn is_one_shot(&self) -> bool

One-shot mode

Source

pub fn is_periodic(&self) -> bool

Periodic mode