Struct freertos_rs::Timer [] [src]

pub struct Timer { /* fields omitted */ }

A FreeRTOS software timer.

Note that all operations on a timer are processed by a FreeRTOS internal task that receives messages in a queue. Every operation has an associated waiting time for that queue to get unblocked.

Methods

impl Timer
[src]

[src]

Create a new timer builder.

[src]

Start the timer.

[src]

Stop the timer.

[src]

Change the period of the timer.

[src]

Detach this timer from Rust's memory management. The timer will still be active and will consume the memory.

Can be used for timers that will never be changed and don't need to stay in scope.

Trait Implementations

impl Send for Timer
[src]

impl Sync for Timer
[src]

impl Drop for Timer
[src]

[src]

Executes the destructor for this type. Read more