Expand description
Field MMS2
writer - Master mode selection 2
Implementations
sourceimpl<'a, const O: u8> MMS2_W<'a, O>
impl<'a, const O: u8> MMS2_W<'a, O>
sourcepub fn reset(self) -> &'a mut W
pub fn reset(self) -> &'a mut W
Reset - the UG bit from the TIMx_EGR register is used as trigger output (TRGO2). If the reset is generated by the trigger input (slave mode controller configured in reset mode), the signal on TRGO2 is delayed compared to the actual reset
sourcepub fn enable(self) -> &'a mut W
pub fn enable(self) -> &'a mut W
Enable - the Counter Enable signal CNT_EN is used as trigger output (TRGO2). It is useful to start several timers at the same time or to control a window in which a slave timer is enabled. The Counter Enable signal is generated by a logic AND between the CEN control bit and the trigger input when configured in Gated mode. When the Counter Enable signal is controlled by the trigger input, there is a delay on TRGO2, except if the Master/Slave mode is selected (see the MSM bit description in TIMx_SMCR register)
sourcepub fn update(self) -> &'a mut W
pub fn update(self) -> &'a mut W
Update - the update event is selected as trigger output (TRGO2). For instance, a master timer can then be used as a prescaler for a slave timer
sourcepub fn compare_pulse(self) -> &'a mut W
pub fn compare_pulse(self) -> &'a mut W
Compare pulse - the trigger output sends a positive pulse when the CC1IF flag is to be set (even if it was already high), as soon as a capture or compare match occurs (TRGO2)
sourcepub fn compare_oc1(self) -> &'a mut W
pub fn compare_oc1(self) -> &'a mut W
Compare - OC1REFC signal is used as trigger output (TRGO2)
sourcepub fn compare_oc2(self) -> &'a mut W
pub fn compare_oc2(self) -> &'a mut W
Compare - OC2REFC signal is used as trigger output (TRGO2)
sourcepub fn compare_oc3(self) -> &'a mut W
pub fn compare_oc3(self) -> &'a mut W
Compare - OC3REFC signal is used as trigger output (TRGO2)
sourcepub fn compare_oc4(self) -> &'a mut W
pub fn compare_oc4(self) -> &'a mut W
Compare - OC4REFC signal is used as trigger output (TRGO2)
sourcepub fn compare_oc5(self) -> &'a mut W
pub fn compare_oc5(self) -> &'a mut W
Compare - OC5REFC signal is used as trigger output (TRGO2)
sourcepub fn compare_oc6(self) -> &'a mut W
pub fn compare_oc6(self) -> &'a mut W
Compare - OC6REFC signal is used as trigger output (TRGO2)
sourcepub fn pulse_oc4(self) -> &'a mut W
pub fn pulse_oc4(self) -> &'a mut W
Compare Pulse - OC4REFC rising or falling edges generate pulses on TRGO2
sourcepub fn pulse_oc6(self) -> &'a mut W
pub fn pulse_oc6(self) -> &'a mut W
Compare Pulse - OC6REFC rising or falling edges generate pulses on TRGO2
sourcepub fn rising_oc4_6(self) -> &'a mut W
pub fn rising_oc4_6(self) -> &'a mut W
Compare Pulse - OC4REFC or OC6REFC rising edges generate pulses on TRGO2
sourcepub fn rising_oc4_falling_oc6(self) -> &'a mut W
pub fn rising_oc4_falling_oc6(self) -> &'a mut W
Compare Pulse - OC4REFC rising or OC6REFC falling edges generate pulses on TRGO2
sourcepub fn rising_oc5_6(self) -> &'a mut W
pub fn rising_oc5_6(self) -> &'a mut W
Compare Pulse - OC5REFC or OC6REFC rising edges generate pulses on TRGO2
sourcepub fn rising_oc5_falling_oc6(self) -> &'a mut W
pub fn rising_oc5_falling_oc6(self) -> &'a mut W
Compare Pulse - OC5REFC rising or OC6REFC falling edges generate pulses on TRGO2