#[repr(u8)]
pub enum MMC_A {
    RESET,
    ENABLE,
    UPDATE,
    CAPTURECOMPAREPULSE,
    COMPAREO0C,
    COMPAREO1C,
    COMPAREO2C,
    COMPAREO3C,
}
Expand description

Master mode control

Value on reset: 0

Variants

RESET

0: Use UPG bit from SWEVG register

ENABLE

1: Use CEN bit from CTL0 register

UPDATE

2: Use the update event

CAPTURECOMPAREPULSE

3: The trigger output send a positive pulse when a capture or a compare match occurred in channel 0

COMPAREO0C

4: O0CPRE signal is used as trigger output

COMPAREO1C

5: O1CPRE signal is used as trigger output

COMPAREO2C

6: O2CPRE signal is used as trigger output

COMPAREO3C

7: O3CPRE signal is used as trigger output

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 !=.

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.