Type Alias gd32f1::gd32f190::timer0::ctl1::MmcR

source ·
pub type MmcR = FieldReader<Mmc>;
Expand description

Field MMC reader - Master mode control

Aliased Type§

struct MmcR { /* private fields */ }

Implementations§

source§

impl MmcR

source

pub const fn variant(&self) -> Mmc

Get enumerated values variant

source

pub fn is_reset(&self) -> bool

Use UPG bit from SWEVG register

source

pub fn is_enable(&self) -> bool

Use CEN bit from CTL0 register

source

pub fn is_update(&self) -> bool

Use the update event

source

pub fn is_capture_compare_pulse(&self) -> bool

The trigger output send a positive pulse when a capture or a compare match occurred in channel 0

source

pub fn is_compare_o0c(&self) -> bool

O0CPRE signal is used as trigger output

source

pub fn is_compare_o1c(&self) -> bool

O1CPRE signal is used as trigger output

source

pub fn is_compare_o2c(&self) -> bool

O2CPRE signal is used as trigger output

source

pub fn is_compare_o3c(&self) -> bool

O3CPRE signal is used as trigger output