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]

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is DISABLED

[src]

Checks if the value of the field is ENCODERTI2

[src]

Checks if the value of the field is ENCODERTI1

[src]

Checks if the value of the field is ENCODERTI1TI2

[src]

Checks if the value of the field is RESET

[src]

Checks if the value of the field is GATED

[src]

Checks if the value of the field is TRIGGER

[src]

Checks if the value of the field is EXTERNAL

Trait Implementations

impl Clone for SMSR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SMSR
[src]

impl Debug for SMSR
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for SMSR
[src]

[src]

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

1.0.0
[src]

This method tests for !=.