Liangxu Linux
Liangxu Linux
Jun 15, 2024 · Fundamentals

Mastering Software Timers on STM32: Theory, Design, and Code

This guide explains what software timers are, their implementation principles in operating systems, and provides a complete STM32‑based example with data structures, state machines, and full C code for initialization, start, update, stop, and status queries.

Embedded CSTM32callback
0 likes · 10 min read
Mastering Software Timers on STM32: Theory, Design, and Code
Liangxu Linux
Liangxu Linux
Jun 10, 2024 · Fundamentals

Mastering Software Timers on STM32: From Theory to Practical Implementation

This article explains what software timers are, their implementation principles in operating systems, and provides a detailed STM32-based example—including clock tick handling, data structures, state management, and full C code for initializing, starting, updating, stopping, and testing timers.

Embedded CSTM32callback
0 likes · 10 min read
Mastering Software Timers on STM32: From Theory to Practical Implementation
Liangxu Linux
Liangxu Linux
May 15, 2024 · Fundamentals

Mastering Embedded Software Timers: Two Practical Timeout Designs

This article presents two widely used software timeout mechanisms for embedded systems, explaining their concepts, implementation steps, code examples, and a comparative analysis to help engineers replace CPU‑blocking delays with hardware‑timer‑based solutions.

C++STM32Timeout
0 likes · 6 min read
Mastering Embedded Software Timers: Two Practical Timeout Designs