eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
syscs_threadx.h
Go to the documentation of this file.
1
25#ifndef ELOOM_INC_SERVICES_SYSCS_FREERTOS_H_
26#define ELOOM_INC_SERVICES_SYSCS_FREERTOS_H_
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/* MISRA messages linked to FreeRTOS include are ignored */
33/*cstat -MISRAC2012-* */
34#include "tx_api.h"
35/*cstat +MISRAC2012-* */
36
37
38/* Public API declaration */
39/**************************/
40
41#define SYS_DECLARE_CS_IMP(cs) UINT cs
43#define SYS_ENTER_CRITICAL_IMP(cs) cs = tx_interrupt_control(TX_INT_DISABLE)
45#define SYS_EXIT_CRITICAL_IMP(cs) tx_interrupt_control(cs)
48/* Inline functions definition */
49/*******************************/
50
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* ELOOM_INC_SERVICES_SYSCS_FREERTOS_H_ */