esp_idf_hal::units

Type Alias ValueType

Source
pub type ValueType = u32;

Trait Implementations§

Source§

impl From<Hertz> for ValueType

Source§

fn from(x: Hertz) -> Self

Converts to this type from the input type.
Source§

impl From<KiloHertz> for ValueType

Source§

fn from(x: KiloHertz) -> Self

Converts to this type from the input type.
Source§

impl From<MegaHertz> for ValueType

Source§

fn from(x: MegaHertz) -> Self

Converts to this type from the input type.
Source§

impl From<MicroSeconds> for ValueType

Source§

fn from(x: MicroSeconds) -> Self

Converts to this type from the input type.
Source§

impl From<MilliSeconds> for ValueType

Source§

fn from(x: MilliSeconds) -> Self

Converts to this type from the input type.
Source§

impl From<NanoSeconds> for ValueType

Source§

fn from(x: NanoSeconds) -> Self

Converts to this type from the input type.
Source§

impl From<Seconds> for ValueType

Source§

fn from(x: Seconds) -> Self

Converts to this type from the input type.
Source§

impl From<Ticks> for ValueType

Source§

fn from(x: Ticks) -> Self

Converts to this type from the input type.
Source§

impl FromValueType for ValueType

Source§

fn Hz(self) -> Hertz

Source§

fn kHz(self) -> KiloHertz

Source§

fn MHz(self) -> MegaHertz

Source§

fn ns(self) -> NanoSeconds

Source§

fn us(self) -> MicroSeconds

Source§

fn ms(self) -> MilliSeconds

Source§

fn s(self) -> Seconds

Source§

fn ticks(self) -> Ticks

Source§

impl Mul<Hertz> for ValueType

Source§

type Output = Hertz

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Hertz) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<KiloHertz> for ValueType

Source§

type Output = KiloHertz

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: KiloHertz) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<MegaHertz> for ValueType

Source§

type Output = MegaHertz

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: MegaHertz) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<MicroSeconds> for ValueType

Source§

type Output = MicroSeconds

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: MicroSeconds) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<MilliSeconds> for ValueType

Source§

type Output = MilliSeconds

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: MilliSeconds) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NanoSeconds> for ValueType

Source§

type Output = NanoSeconds

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NanoSeconds) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Seconds> for ValueType

Source§

type Output = Seconds

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Seconds) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Ticks> for ValueType

Source§

type Output = Ticks

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Ticks) -> Self::Output

Performs the * operation. Read more