Constant avr_config::CPU_FREQUENCY_HZ[][src]

pub const CPU_FREQUENCY_HZ: u32 = CPU_FREQUENCY_HZ_IMPL; // 0_x00_f42_400u32

The clock frequency of the current AVR microcontroller (if the cpu-frequency crate feature is enabled).

This value is set at compilation time.

This value is derived from the $AVR_CPU_FREQUENCY_HZ environment variable.

When this crate is compiled for a non-AVR target, this value simply becomes a reasonable default.