stm32_timer_start(9)
π stm32_timer_start(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel, you've got a timer, and it's just... sitting there. not counting. embarrassing. that's where stm32_timer_start swoops in π
β¨ NAME β¨
stm32_timer_start β start the counter without the event, periodt
π SYNOPSIS π
void stm32_timer_start (struct timer_of *to );
πΈ ARGUMENTS πΈ
toβ atimer_ofstructure pointer. that's it, that's the whole vibe. hand her the pointer and she'll handle the rest π«Ά
π¦ DESCRIPTION π¦
so what she actually does: she starts the timer so the counter gets reset and starts incrementing. main character energy, fr fr β¨
but β and this is the important bit, don't skip it β she disables the interrupt event for when there's a counter overflow. so like, the counter is out there living its life, counting away, and it will not be throwing interrupts at you when it overflows. no cap. that's the whole point of the "without event" in the name π
and by default, the counter direction is used as upcounter. so we're going up, babe π
π SEE ALSO π
- Kernel file
./drivers/clocksource/timer-stm32.c stm32_timer_of_bits_set(9)stm32_timer_of_bits_get(9)stm32_timer_set_width(9)stm32_timer_set_prescaler(9)
like, go read the source if you want the full lore, iykyk π
and that's the page!! π sourced from ./drivers/clocksource, dated October 2026 β mwah, love u, go start some timers ππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms