There are 3 posts under tag Timer.

Using STM32 Timers (Blue Pill) and Rust to measure input pulse width on a Timer channel, covering everything from Input Capture theory to a complete program example.

Accessing Timer Peripherals for Downcounting and Center-Aligned Counter Modes on the Blue Pill (STM32F103C8) using the Rust programming language.

Accessing Timer peripherals on the STM32F103C8 (Blue Pill), from theory to example programs using Timers as counters with Rust programming language.