Trait rtfm::U32Ext

source ·
pub trait U32Ext {
    fn cycles(self) -> Duration;
}
Expand description

Adds the cycles method to the u32 type

This trait is only available when the timer-queue feature is enabled

Required Methods

Converts the u32 value into clock cycles

Implementations on Foreign Types

Implementors