Trait stm32f042_hal::time::U32Ext
[−]
[src]
pub trait U32Ext {
fn bps(self) -> Bps;
fn hz(self) -> Hertz;
fn khz(self) -> KiloHertz;
fn mhz(self) -> MegaHertz;
}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) -> KiloHertz
Wrap in KiloHertz
fn mhz(self) -> MegaHertz
Wrap in MegaHertz
Implementors
impl U32Ext for u32