[][src]Trait gd32vf103_hal::time::U32Ext

pub trait U32Ext {
    fn hz(self) -> Hertz;
fn khz(self) -> KiloHertz;
fn mhz(self) -> MegaHertz;
fn ms(self) -> MilliSeconds;
fn us(self) -> MicroSeconds; }

Extension trait that add convenient methods to the u32 type

Required methods

fn hz(self) -> Hertz

Wrap in Hertz

fn khz(self) -> KiloHertz

Wrap in KiloHertz

fn mhz(self) -> MegaHertz

Wrap in MegaHertz

fn ms(self) -> MilliSeconds

Wrap in MilliSeconds

fn us(self) -> MicroSeconds

Wrap in MicroSeconds

Loading content...

Implementors

impl U32Ext for u32[src]

Loading content...