-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathG8RTOS_IPC.h
More file actions
42 lines (26 loc) · 1.46 KB
/
G8RTOS_IPC.h
File metadata and controls
42 lines (26 loc) · 1.46 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_IPC.h
// Date Created: 2023-07-26
// Date Updated: 2023-07-26
// Interprocess communication code for G8RTOS
#ifndef G8RTOS_IPC_H_
#define G8RTOS_IPC_H_
/************************************Includes***************************************/
#include <stdint.h>
#include "./G8RTOS_Semaphores.h"
/************************************Includes***************************************/
/*************************************Defines***************************************/
#define FIFO_SIZE 16
#define MAX_NUMBER_OF_FIFOS 4
/*************************************Defines***************************************/
/******************************Data Type Definitions********************************/
/******************************Data Type Definitions********************************/
/****************************Data Structure Definitions*****************************/
/****************************Data Structure Definitions*****************************/
/********************************Public Variables***********************************/
/********************************Public Variables***********************************/
/********************************Public Functions***********************************/
int32_t G8RTOS_InitFIFO(uint32_t FIFO_index);
int32_t G8RTOS_ReadFIFO(uint32_t FIFO_index);
int32_t G8RTOS_WriteFIFO(uint32_t FIFO_index, uint32_t data);
/********************************Public Functions***********************************/
#endif /* G8RTOS_IPC_H_ */