42 #define pdMS_TO_TICKS( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( TickType_t ) configTICK_RATE_HZ ) / ( TickType_t ) 1000 ) ) 45 #define pdFALSE ( ( BaseType_t ) 0 ) 46 #define pdTRUE ( ( BaseType_t ) 1 ) 48 #define pdPASS ( pdTRUE ) 49 #define pdFAIL ( pdFALSE ) 50 #define errQUEUE_EMPTY ( ( BaseType_t ) 0 ) 51 #define errQUEUE_FULL ( ( BaseType_t ) 0 ) 54 #define errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY ( -1 ) 55 #define errQUEUE_BLOCKED ( -4 ) 56 #define errQUEUE_YIELD ( -5 ) 59 #ifndef configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES 60 #define configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES 0 63 #if( configUSE_16_BIT_TICKS == 1 ) 64 #define pdINTEGRITY_CHECK_VALUE 0x5a5a 66 #define pdINTEGRITY_CHECK_VALUE 0x5a5a5a5aUL 71 #define pdFREERTOS_ERRNO_NONE 0 72 #define pdFREERTOS_ERRNO_ENOENT 2 73 #define pdFREERTOS_ERRNO_EINTR 4 74 #define pdFREERTOS_ERRNO_EIO 5 75 #define pdFREERTOS_ERRNO_ENXIO 6 76 #define pdFREERTOS_ERRNO_EBADF 9 77 #define pdFREERTOS_ERRNO_EAGAIN 11 78 #define pdFREERTOS_ERRNO_EWOULDBLOCK 11 79 #define pdFREERTOS_ERRNO_ENOMEM 12 80 #define pdFREERTOS_ERRNO_EACCES 13 81 #define pdFREERTOS_ERRNO_EFAULT 14 82 #define pdFREERTOS_ERRNO_EBUSY 16 83 #define pdFREERTOS_ERRNO_EEXIST 17 84 #define pdFREERTOS_ERRNO_EXDEV 18 85 #define pdFREERTOS_ERRNO_ENODEV 19 86 #define pdFREERTOS_ERRNO_ENOTDIR 20 87 #define pdFREERTOS_ERRNO_EISDIR 21 88 #define pdFREERTOS_ERRNO_EINVAL 22 89 #define pdFREERTOS_ERRNO_ENOSPC 28 90 #define pdFREERTOS_ERRNO_ESPIPE 29 91 #define pdFREERTOS_ERRNO_EROFS 30 92 #define pdFREERTOS_ERRNO_EUNATCH 42 93 #define pdFREERTOS_ERRNO_EBADE 50 94 #define pdFREERTOS_ERRNO_EFTYPE 79 95 #define pdFREERTOS_ERRNO_ENMFILE 89 96 #define pdFREERTOS_ERRNO_ENOTEMPTY 90 97 #define pdFREERTOS_ERRNO_ENAMETOOLONG 91 98 #define pdFREERTOS_ERRNO_EOPNOTSUPP 95 99 #define pdFREERTOS_ERRNO_ENOBUFS 105 100 #define pdFREERTOS_ERRNO_ENOPROTOOPT 109 101 #define pdFREERTOS_ERRNO_EADDRINUSE 112 102 #define pdFREERTOS_ERRNO_ETIMEDOUT 116 103 #define pdFREERTOS_ERRNO_EINPROGRESS 119 104 #define pdFREERTOS_ERRNO_EALREADY 120 105 #define pdFREERTOS_ERRNO_EADDRNOTAVAIL 125 106 #define pdFREERTOS_ERRNO_EISCONN 127 107 #define pdFREERTOS_ERRNO_ENOTCONN 128 108 #define pdFREERTOS_ERRNO_ENOMEDIUM 135 109 #define pdFREERTOS_ERRNO_EILSEQ 138 110 #define pdFREERTOS_ERRNO_ECANCELED 140 114 #define pdFREERTOS_LITTLE_ENDIAN 0 115 #define pdFREERTOS_BIG_ENDIAN 1 118 #define pdLITTLE_ENDIAN pdFREERTOS_LITTLE_ENDIAN 119 #define pdBIG_ENDIAN pdFREERTOS_BIG_ENDIAN void(* TaskFunction_t)(void *)