[][src]Trait stm32l0xx_hal::time::U32Ext

pub trait U32Ext {
    fn bps(self) -> Bps;
fn hz(self) -> Hertz;
fn khz(self) -> Hertz;
fn mhz(self) -> Hertz;
fn us(self) -> MicroSeconds;
fn ms(self) -> MicroSeconds; }

Extension trait that adds convenience methods to the u32 type

Required methods

fn bps(self) -> Bps

Wrap in Bps

fn hz(self) -> Hertz

Wrap in Hertz

fn khz(self) -> Hertz

Wrap in Hertz

fn mhz(self) -> Hertz

Wrap in Hertz

fn us(self) -> MicroSeconds

Wrap in MicroSeconds

fn ms(self) -> MicroSeconds

Wrap in MicroSeconds

Loading content...

Implementors

impl U32Ext for u32[src]

Loading content...