19 #ifndef MINLIB_ESP32_TICK_HOOK_
20 #define MINLIB_ESP32_TICK_HOOK_
24 #include <freertos/FreeRTOS.h>
25 #include <freertos/task.h>
27 #if ( configUSE_TICK_HOOK == 1 )
40 extern "C" void vApplicationTickHook(
void);
63 static base_tickhook* m_pInstance;
67 static mutex_t m_staticInstanceMux;
73 static base_tickhook& instance();
85 int enqueue(base_tickhook_entry* entry,
86 unsigned int timeout = (
unsigned int) 0xffffffffUL);
97 int dequeue(base_tickhook_entry* entry,
98 unsigned int timeout = (
unsigned int) 0xffffffffUL);
112 unsigned int count();
118 void onApplicationTickHook();
129 unsigned int m_iCurrent;
132 using tickhook_t = base_tickhook;
A list of all error codes in this lib. This file is part of the Mini Thread Library (https://github....
basic_queue queue_t
Definition: queue/mn_queue.hpp:142
Definition: mn_allocator_typetraits.hpp:25
basic_mutex mutex_t
Definition: mn_mutex.hpp:76
void swap(TAssignable &a, TAssignable &b)
Definition: mn_algorithm.hpp:312