atsamd_hal::clock::v2::dpll

Trait DpllSourceId

Source
pub trait DpllSourceId {
    const DYN: DynDpllSourceId;
}
Expand description

Type-level enum of possible clock Sources for a Dpll

The types implementing this trait are type-level variants of DpllSourceId, and they identify one of four possible clock Sources for a given Dpll. All implementers of this trait are Id types, which are described in more detail in the clock module documentation.

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

Required Associated Constants§

Source

const DYN: DynDpllSourceId

Corresponding variant of DynDpllSourceId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl DpllSourceId for Xosc32kId

Source§

const DYN: DynDpllSourceId = DynDpllSourceId::Xosc32k

Source§

impl DpllSourceId for Xosc0Id

Source§

const DYN: DynDpllSourceId = DynDpllSourceId::Xosc0

Source§

impl DpllSourceId for Xosc1Id

Source§

const DYN: DynDpllSourceId = DynDpllSourceId::Xosc1

Source§

impl<G: GclkId> DpllSourceId for G

Source§

const DYN: DynDpllSourceId = DynDpllSourceId::Pclk