-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathG8RTOS_CriticalSection.h
More file actions
42 lines (24 loc) · 1.44 KB
/
G8RTOS_CriticalSection.h
File metadata and controls
42 lines (24 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// G8RTOS_CriticalSection.h
// Date Created: 2023-07-26
// Date Updated: 2023-07-26
// Critical section function prototypes. To be defined using assembly.
#ifndef G8RTOS_CRITICALSECTION_H_
#define G8RTOS_CRITICALSECTION_H_
/************************************Includes***************************************/
#include <stdint.h>
#include "G8RTOS_Structures.h"
/************************************Includes***************************************/
/*************************************Defines***************************************/
/*************************************Defines***************************************/
/******************************Data Type Definitions********************************/
/******************************Data Type Definitions********************************/
/****************************Data Structure Definitions*****************************/
/****************************Data Structure Definitions*****************************/
/********************************Public Variables***********************************/
uint32_t IBit_State;
/********************************Public Variables***********************************/
/********************************Public Functions***********************************/
extern int32_t StartCriticalSection();
extern void EndCriticalSection(int32_t IBit_State);
/********************************Public Functions***********************************/
#endif /* G8RTOS_CRITICALSECTION_H_ */