Trait atmega_hal::clock::Clock

source ·
pub trait Clock {
    const FREQ: u32;
}
Expand description

A clock speed

Required Associated Constants§

source

const FREQ: u32

Frequency of this clock in Hz

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Clock for MHz1

source§

const FREQ: u32 = 1_000_000u32

source§

impl Clock for MHz8

source§

const FREQ: u32 = 8_000_000u32

source§

impl Clock for MHz10

source§

const FREQ: u32 = 10_000_000u32

source§

impl Clock for MHz12

source§

const FREQ: u32 = 12_000_000u32

source§

impl Clock for MHz16

source§

const FREQ: u32 = 16_000_000u32

source§

impl Clock for MHz20

source§

const FREQ: u32 = 20_000_000u32

source§

impl Clock for MHz24

source§

const FREQ: u32 = 24_000_000u32