# stm32-util-sequencer **Repository Path**: hankhzx/stm32-util-sequencer ## Basic Information - **Project Name**: stm32-util-sequencer - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-25 - **Last Updated**: 2026-03-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
The Sequencer is a utility that helps schedule tasks in systems without an OS.
The Sequencer utility has been designed as a simple alternative to using a real-time operating system for less complex application cases. However, it does not cover all the services provided by an operating system.
The main features of Sequencer are:
The start-up sequence can be split into five steps:
Initialize the Sequencer once with SEQ_Init() after
basic hardware setup and before scheduling any tasks
Define tasks as short non-preemptive functions that return quickly, using either single-action tasks (one-shot actions) or state-machine tasks (advance one step per call with internal state).
Register each task with a task ID bit and its callback function using
SEQ_RegTask().
To schedule work, set the task bit with a priority index (0 =
highest) using SEQ_SetTask().
Call SEQ_Run() inside the infinite loop to let the
Sequencer process all pending tasks.