esp_hal::timer

Module systimer

Source
Available on crate feature unstable only.
Expand description

§System Timer (SYSTIMER)

§Overview

The System Timer is a 64-bit timer which can be used, for example, to generate tick interrupts for an operating system, or simply as a general-purpose timer.

§Configuration

The timer consists of two counters, Unit0 and Unit1. The counter values can be monitored by 3 Alarms

It is recommended to pass the Alarms into a high level driver like OneShotTimer and PeriodicTimer. Using the System timer directly is only possible through the low level Timer trait.

Structs§

Enums§