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