C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
Loading...
Searching...
No Matches
defines.h
1
16
#pragma once
17
18
#include <stdint.h>
19
25
#define E_OK 0
27
#define E_OUT_OF_RANGE 1
29
#define E_OUT_OF_STACKS 2
31
#define E_TASK_RUNNING 3
33
#define E_INVALID_ADDRESS 4
35
#define E_MISALIGNED 5
37
#define E_WRONG_SIZE 6
39
#define E_BUSY 7
41
#define E_DEADLK 8
43
#define E_NOTAVAIL 9
45
#define E_INVALID 10
47
#define E_IN_TOO_DEEP 11
49
#define E_OUT_OF_NOTIFICATIONS 12
51
#define E_YIELD 13
53
#define E_TIMEOUT 14
55
#define E_ACCESS 15
58
#define E_OK_NO_WAIT 16
60
#define E_OUT_OF_THREADS 0xFF
67
#ifndef NULL
68
# define NULL ((void *) 0)
69
#endif
70
72
typedef
uint8_t
Thread_t
;
73
75
typedef
uint8_t
Process_t
;
76
Process_t
uint8_t Process_t
Data type used for process IDs.
Definition
defines.h:75
Thread_t
uint8_t Thread_t
Data type used for thread IDs.
Definition
defines.h:72
include
cmrx
defines.h
Generated by
1.9.8