pub enum MMSR {
    RESET,
    ENABLE,
    UPDATE,
    COMPAREPULSE,
    COMPAREOC1,
    COMPAREOC2,
    COMPAREOC3,
    COMPAREOC4,
}
Expand description

Possible values of the field MMS

Variants§

§

RESET

The UG bit from the TIMx_EGR register is used as trigger output

§

ENABLE

The counter enable signal, CNT_EN, is used as trigger output

§

UPDATE

The update event is selected as trigger output

§

COMPAREPULSE

The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred

§

COMPAREOC1

OC1REF signal is used as trigger output

§

COMPAREOC2

OC2REF signal is used as trigger output

§

COMPAREOC3

OC3REF signal is used as trigger output

§

COMPAREOC4

OC4REF signal is used as trigger output

Implementations§

Value of the field as raw bits

Checks if the value of the field is RESET

Checks if the value of the field is ENABLE

Checks if the value of the field is UPDATE

Checks if the value of the field is COMPAREPULSE

Checks if the value of the field is COMPAREOC1

Checks if the value of the field is COMPAREOC2

Checks if the value of the field is COMPAREOC3

Checks if the value of the field is COMPAREOC4

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.