Enum stm32f103xx::tim1::smcr::SMSR[][src]

pub enum SMSR {
    DISABLED,
    ENCODERTI2,
    ENCODERTI1,
    ENCODERTI1TI2,
    RESET,
    GATED,
    TRIGGER,
    EXTERNAL,
}

Possible values of the field SMS

Variants

Counter disabled

Encoder mode, count up/down on TI2FP1

Encoder mode, count up/down on TI1FP2

Encoder mode, count up/down on both TI1FP1 and TI2FP2

Rising edge of the selected trigger input (TRGI) reinitializes the counter

The counter clock is enabled when the trigger input (TRGI) is high

The counter starts at a rising edge of the trigger TRGI

Rising edges of the selected trigger (TRGI) clock the counter

Methods

impl SMSR
[src]

Value of the field as raw bits

Checks if the value of the field is DISABLED

Checks if the value of the field is ENCODERTI2

Checks if the value of the field is ENCODERTI1

Checks if the value of the field is ENCODERTI1TI2

Checks if the value of the field is RESET

Checks if the value of the field is GATED

Checks if the value of the field is TRIGGER

Checks if the value of the field is EXTERNAL

Trait Implementations

impl Clone for SMSR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SMSR
[src]

impl Debug for SMSR
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SMSR
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for SMSR

impl Sync for SMSR