Enum freertos_rs::Duration [] [src]

pub enum Duration {
    Ticks(u32),
    Milliseconds(u32),
    Infinite,
}

Time unit used by FreeRTOS, passed to the scheduler as ticks.

Variants

Methods

impl Duration
[src]

Milliseconds constructor

An infinite duration

Convert to ticks, the internal time measurement unit of FreeRTOS

Trait Implementations

impl Debug for Duration
[src]

Formats the value using the given formatter.

impl Copy for Duration
[src]

impl Clone for Duration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more