#[repr(u8)]
pub enum OUTMOD_A {
    OUTMOD_0,
    OUTMOD_1,
    OUTMOD_2,
    OUTMOD_3,
    OUTMOD_4,
    OUTMOD_5,
    OUTMOD_6,
    OUTMOD_7,
}
Expand description

Output mode 2

Value on reset: 0

Variants

OUTMOD_0

0: PWM output mode: 0 - output only

OUTMOD_1

1: PWM output mode: 1 - set

OUTMOD_2

2: PWM output mode: 2 - PWM toggle/reset

OUTMOD_3

3: PWM output mode: 3 - PWM set/reset

OUTMOD_4

4: PWM output mode: 4 - toggle

OUTMOD_5

5: PWM output mode: 5 - Reset

OUTMOD_6

6: PWM output mode: 6 - PWM toggle/set

OUTMOD_7

7: PWM output mode: 7 - PWM reset/set

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

Converts to this type from the input type.

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.

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.