Trait microbit::hal::time::U32Ext[][src]

pub trait U32Ext {
    fn bps(self) -> Bps;
fn hz(self) -> Hertz;
fn khz(self) -> KiloHertz;
fn mhz(self) -> MegaHertz; }
Expand description

Extension trait that adds convenience methods to the u32 type.

Required methods

Wrap in Bps.

Wrap in Hertz.

Wrap in KiloHertz.

Wrap in MegaHertz.

Implementations on Foreign Types

Implementors