Type Alias gd32f1::gd32f190::timer0::ctl0::SpmR

source ·
pub type SpmR = BitReader<Spm>;
Expand description

Field SPM reader - Single pulse mode

Aliased Type§

struct SpmR { /* private fields */ }

Implementations§

source§

impl SpmR

source

pub const fn variant(&self) -> Spm

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Counter is not stopped at update event

source

pub fn is_enabled(&self) -> bool

Counter stops counting at the next update event (clearing the CEN bit)