Skip to main content

Module impls

Module impls 

Source
Expand description

Peripheral implementations for the Timer trait.

You will need to properly instantiate the peripheral yourself, and register the appropriate interrupt. The timer will require a 'static lifetime to be accessible in the interrupt, if not using the RTIC crate or similar.

You can implement Timer for a Peripheral yourself. Please use these implementations for reference on how to do this, and refer to the documentation of the Timer trait.

Modulesยง

stm32f103_rtc
A simple AsyncTimer implementation for the Rtc peripheral in the STM32F103 running at 1kHz.
stm32l4x6_lptim1
A AsyncTimer implementation for the LPTIM1 peripheral in the STM32L4x6 running at 32kHz.