Trait nrf52840_hal::time::U32Ext[][src]

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

Extension trait that adds convenience methods to the u32 type.

Required methods

pub fn bps(self) -> Bps[src]

Wrap in Bps.

pub fn hz(self) -> Hertz[src]

Wrap in Hertz.

pub fn khz(self) -> KiloHertz[src]

Wrap in KiloHertz.

pub fn mhz(self) -> MegaHertz[src]

Wrap in MegaHertz.

Loading content...

Implementors

impl U32Ext for u32[src]

Loading content...