pub type SmcR = FieldReader<Smc>;
Expand description
Field SMC
reader - Slave mode control
Aliased Type§
struct SmcR { /* private fields */ }
Implementations§
source§impl SmcR
impl SmcR
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Slave mode disabled - if CEN=1 then the prescaler is clocked directly by the internal clock.
sourcepub fn is_restart_mode(&self) -> bool
pub fn is_restart_mode(&self) -> bool
Restart Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
sourcepub fn is_pause_mode(&self) -> bool
pub fn is_pause_mode(&self) -> bool
Pause Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
sourcepub fn is_event_mode(&self) -> bool
pub fn is_event_mode(&self) -> bool
Event Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
sourcepub fn is_external_clock_mode(&self) -> bool
pub fn is_external_clock_mode(&self) -> bool
External Clock Mode 0 - Rising edges of the selected trigger (TRGI) clock the counter.