Trait nrf52832_hal::prelude::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

fn bps(self) -> Bps[src]

Wrap in Bps.

fn hz(self) -> Hertz[src]

Wrap in Hertz.

fn khz(self) -> KiloHertz[src]

Wrap in KiloHertz.

fn mhz(self) -> MegaHertz[src]

Wrap in MegaHertz.

Implementors

impl U32Ext for u32[src]

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

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

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

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