mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-12-16 18:08:04 +00:00
Change include paths
This commit is contained in:
16
include/sta/rtos2/defs.hpp
Normal file
16
include/sta/rtos2/defs.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @brief Constants and macros for use with CMSIS RTOS2.
|
||||
*/
|
||||
#ifndef STA_RTOS2_DEFS_HPP
|
||||
#define STA_RTOS2_DEFS_HPP
|
||||
|
||||
|
||||
// See limits defined in cmsis_os2.c
|
||||
#define STA_RTOS2_MAX_BITS_TASK_NOTIFY 31U
|
||||
#define STA_RTOS2_MAX_BITS_EVENT_GROUPS 24U
|
||||
|
||||
#define STA_RTOS2_THREAD_FLAGS_VALID_BITS ((1UL << STA_RTOS2_MAX_BITS_TASK_NOTIFY) - 1U)
|
||||
#define STA_RTOS2_EVENT_FLAGS_VALID_BITS ((1UL << STA_RTOS2_MAX_BITS_EVENT_GROUPS) - 1U)
|
||||
|
||||
|
||||
#endif // STA_RTOS2_DEFS_HPP
|
||||
Reference in New Issue
Block a user