atsamd_hal::clock::v2::dfll

Trait Reference

Source
pub trait Reference {
    const DYN: DynReference;
}
Expand description

Type-level enum identifying one of two possible Dfll reference clocks

When the Dfll is in closed-loop mode, it requires a reference clock input. The types implementing this trait, i.e. FromPclk and FromUsb, are type-level variants of Reference, and they identify one of the two possible reference clocks.

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

Required Associated Constants§

Source

const DYN: DynReference

Corresponding variant of DynReference

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 Reference for FromUsb

Source§

const DYN: DynReference = DynReference::Usb

Source§

impl<G: GclkId> Reference for FromPclk<G>

Source§

const DYN: DynReference = DynReference::Pclk