eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
syscs.h
Go to the documentation of this file.
1
27#ifndef ELOOM_INC_SERVICES_SYSCS_H_
28#define ELOOM_INC_SERVICES_SYSCS_H_
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#include "systp.h"
35
36#define SYS_DECLARE_CS(cs) SYS_DECLARE_CS_IMP(cs)
37#define SYS_ENTER_CRITICAL(cs) SYS_ENTER_CRITICAL_IMP(cs)
38#define SYS_EXIT_CRITICAL(cs) SYS_EXIT_CRITICAL_IMP(cs)
39
40#if defined(SYS_TP_RTOS_FREERTOS)
41#include "syscs_freertos.h"
42#elif defined(SYS_TP_RTOS_THREADX)
43#include "syscs_threadx.h"
44#endif
45
46/* Public API declaration */
47/**************************/
48
49
50
51/* Inline functions definition */
52/*******************************/
53
54
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* ELOOM_INC_SERVICES_SYSCS_H_ */
eLooM critical section.
Target platform definition.