|
HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
|
Simple task sequencer handling. More...
#include "sarmfsw.h"

Data Structures | |
| struct | Sequencer_cfg |
| struct | sequencer |
| Sequencer structure. More... | |
Typedefs | |
| typedef struct sequencer | Sequencer |
| Typedef for StruSequencer used by function pointers included in struct. | |
| typedef void(* | pfHandler_t) (void) |
| Basic handler function pointer typedef. | |
| typedef void(* | pfSeq_cback_t) (Sequencer const *) |
Enumerations | |
| enum | eSeqCallback { cback_preSeq = 0 , cback_postSeq , cback_preHandle , cback_postHandle , cback_max } |
| Callback id. More... | |
Functions | |
| void | handler_disable (Sequencer *const pSeq, const uint8_t idx) |
| void | handler_enable (Sequencer *const pSeq, const uint8_t idx) |
| void | handler_set_mask (Sequencer *const pSeq, const uint32_t mask) |
| void | sequencer_stop (Sequencer *const pSeq) |
| void | sequencer_start (Sequencer *const pSeq) |
| FctERR | sequencer_init (Sequencer *const pSeq, const pfHandler_t *const aHandlers, const uintCPU_t nb_handlers, const bool start) |
| FctERR | sequencer_init_all (Sequencer *const pSeq, const Sequencer_cfg *const pCfg, const bool start) |
| FctERR | sequencer_deinit (Sequencer *const pSeq) |
| FctERR | sequencer_register_callback (Sequencer *const pSeq, const eSeqCallback callback, const pfSeq_cback_t pCallback) |
| FctERR | sequencer_unregister_callback (Sequencer *const pSeq, const eSeqCallback callback) |
| void | sequencer_handler (Sequencer *const pSeq) |
Simple task sequencer handling.
| typedef void(* pfHandler_t) (void) |
Basic handler function pointer typedef.
| typedef void(* pfSeq_cback_t) (Sequencer const *) |
Typedef for StruSequencer used by function pointers included in struct.
| enum eSeqCallback |
|
inline |
|
inline |
|
inline |
| FctERR sequencer_deinit | ( | Sequencer *const | pSeq | ) |
| void sequencer_handler | ( | Sequencer *const | pSeq | ) |
| FctERR sequencer_init | ( | Sequencer *const | pSeq, |
| const pfHandler_t *const | aHandlers, | ||
| const uintCPU_t | nb_handlers, | ||
| const bool | start ) |
| FctERR sequencer_init_all | ( | Sequencer *const | pSeq, |
| const Sequencer_cfg *const | pCfg, | ||
| const bool | start ) |
| FctERR sequencer_register_callback | ( | Sequencer *const | pSeq, |
| const eSeqCallback | callback, | ||
| const pfSeq_cback_t | pCallback ) |
|
inline |
|
inline |
| FctERR sequencer_unregister_callback | ( | Sequencer *const | pSeq, |
| const eSeqCallback | callback ) |