77 typedef void (*TaskFunction_t)(
void *);
83 #define pdMS_TO_TICKS( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( TickType_t ) configTICK_RATE_HZ ) / ( TickType_t ) 1000 ) )
86 #define pdFALSE ( ( BaseType_t ) 0 )
87 #define pdTRUE ( ( BaseType_t ) 1 )
89 #define pdPASS ( pdTRUE )
90 #define pdFAIL ( pdFALSE )
91 #define errQUEUE_EMPTY ( ( BaseType_t ) 0 )
92 #define errQUEUE_FULL ( ( BaseType_t ) 0 )
95 #define errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY ( -1 )
96 #define errQUEUE_BLOCKED ( -4 )
97 #define errQUEUE_YIELD ( -5 )
100 #ifndef configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
101 #define configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES 0
104 #if( configUSE_16_BIT_TICKS == 1 )
105 #define pdINTEGRITY_CHECK_VALUE 0x5a5a
107 #define pdINTEGRITY_CHECK_VALUE 0x5a5a5a5aUL
112 #define pdFREERTOS_ERRNO_NONE 0
113 #define pdFREERTOS_ERRNO_ENOENT 2
114 #define pdFREERTOS_ERRNO_EINTR 4
115 #define pdFREERTOS_ERRNO_EIO 5
116 #define pdFREERTOS_ERRNO_ENXIO 6
117 #define pdFREERTOS_ERRNO_EBADF 9
118 #define pdFREERTOS_ERRNO_EAGAIN 11
119 #define pdFREERTOS_ERRNO_EWOULDBLOCK 11
120 #define pdFREERTOS_ERRNO_ENOMEM 12
121 #define pdFREERTOS_ERRNO_EACCES 13
122 #define pdFREERTOS_ERRNO_EFAULT 14
123 #define pdFREERTOS_ERRNO_EBUSY 16
124 #define pdFREERTOS_ERRNO_EEXIST 17
125 #define pdFREERTOS_ERRNO_EXDEV 18
126 #define pdFREERTOS_ERRNO_ENODEV 19
127 #define pdFREERTOS_ERRNO_ENOTDIR 20
128 #define pdFREERTOS_ERRNO_EISDIR 21
129 #define pdFREERTOS_ERRNO_EINVAL 22
130 #define pdFREERTOS_ERRNO_ENOSPC 28
131 #define pdFREERTOS_ERRNO_ESPIPE 29
132 #define pdFREERTOS_ERRNO_EROFS 30
133 #define pdFREERTOS_ERRNO_EUNATCH 42
134 #define pdFREERTOS_ERRNO_EBADE 50
135 #define pdFREERTOS_ERRNO_EFTYPE 79
136 #define pdFREERTOS_ERRNO_ENMFILE 89
137 #define pdFREERTOS_ERRNO_ENOTEMPTY 90
138 #define pdFREERTOS_ERRNO_ENAMETOOLONG 91
139 #define pdFREERTOS_ERRNO_EOPNOTSUPP 95
140 #define pdFREERTOS_ERRNO_ENOBUFS 105
141 #define pdFREERTOS_ERRNO_ENOPROTOOPT 109
142 #define pdFREERTOS_ERRNO_EADDRINUSE 112
143 #define pdFREERTOS_ERRNO_ETIMEDOUT 116
144 #define pdFREERTOS_ERRNO_EINPROGRESS 119
145 #define pdFREERTOS_ERRNO_EALREADY 120
146 #define pdFREERTOS_ERRNO_EADDRNOTAVAIL 125
147 #define pdFREERTOS_ERRNO_EISCONN 127
148 #define pdFREERTOS_ERRNO_ENOTCONN 128
149 #define pdFREERTOS_ERRNO_ENOMEDIUM 135
150 #define pdFREERTOS_ERRNO_EILSEQ 138
151 #define pdFREERTOS_ERRNO_ECANCELED 140
155 #define pdFREERTOS_LITTLE_ENDIAN 0
156 #define pdFREERTOS_BIG_ENDIAN 1