d413f01d91
shared-hal-ci / Check build (push) Has been cancelled
shared-hal-ci / Check formatting (push) Has been cancelled
shared-hal-ci / Check Documentation Build (push) Has been cancelled
shared-hal-ci / Clippy (push) Has been cancelled
va108xx-ci / Check build (push) Has been cancelled
va108xx-ci / Run Tests (push) Has been cancelled
va108xx-ci / Check formatting (push) Has been cancelled
va108xx-ci / Check Documentation Build (push) Has been cancelled
va108xx-ci / Clippy (push) Has been cancelled
va416xx-ci / Check build (push) Has been cancelled
va416xx-ci / Run Tests (push) Has been cancelled
va416xx-ci / Check formatting (push) Has been cancelled
va416xx-ci / Check Documentation Build (push) Has been cancelled
va416xx-ci / Clippy (push) Has been cancelled
27 lines
468 B
Rust
27 lines
468 B
Rust
//! Time units
|
|
|
|
// Frequency based
|
|
|
|
/// Hertz
|
|
pub type Hertz = fugit::HertzU32;
|
|
|
|
/// KiloHertz
|
|
pub type KiloHertz = fugit::KilohertzU32;
|
|
|
|
/// MegaHertz
|
|
pub type MegaHertz = fugit::MegahertzU32;
|
|
|
|
// Period based
|
|
|
|
/// Seconds
|
|
pub type Seconds = fugit::SecsDurationU32;
|
|
|
|
/// Milliseconds
|
|
pub type Milliseconds = fugit::MillisDurationU32;
|
|
|
|
/// Microseconds
|
|
pub type Microseconds = fugit::MicrosDurationU32;
|
|
|
|
/// Nanoseconds
|
|
pub type Nanoseconds = fugit::NanosDurationU32;
|