atsamd_hal/time.rs
1//! Time units
2
3// Frequency based
4
5/// Hertz
6pub type Hertz = fugit::HertzU32;
7
8/// KiloHertz
9pub type KiloHertz = fugit::KilohertzU32;
10
11/// MegaHertz
12pub type MegaHertz = fugit::MegahertzU32;
13
14// Period based
15
16/// Seconds
17pub type Seconds = fugit::SecsDurationU32;
18
19/// Milliseconds
20pub type Milliseconds = fugit::MillisDurationU32;
21
22/// Microseconds
23pub type Microseconds = fugit::MicrosDurationU32;
24
25/// Nanoseconds
26pub type Nanoseconds = fugit::NanosDurationU32;