pub trait GclkId: Sealed {
    type Divider: GclkDivider;

    const DYN: DynGclkId;
    const NUM: usize;
}
Expand description

Type-level enum identifying one of 12 possible Gclks

The types implementing this trait, i.e. Gclk0Id - Gclk11Id, are type-level variants of GclkId, and they identify one of the 12 possible generic clock generators.

GclkId is the type-level equivalent of DynGclkId. See the documentation on type-level programming and specifically type-level enums for more details.

Required Associated Types

Corresponding GclkDivider type

Gclk1 uses GclkDiv16, while all other Gclks use GclkDiv8.

Required Associated Constants

Corresponding variant of DynGclkId

Corresponding numeric index (0..12)

Implementors