![]() |
EVE 1.0
|
Header file for the rtos emulation layer. More...
Go to the source code of this file.
Data Structures | |
struct | sockaddr |
struct | in_addr |
struct | sockaddr_in |
Macros | |
#define | pdPASS 1 |
#define | pdFALSE false |
#define | pdTRUE true |
#define | AF_INET 2 |
#define | SOCK_STREAM 1 |
#define | SOCK_DGRAM 2 |
#define | IPPROTO_TCP 6 |
#define | IPPROTO_UDP 17 |
#define | SOL_SOCKET 1 |
#define | SO_RCVTIMEO 20 |
#define | SO_SNDTIMEO 21 |
#define | TCP_NODELAY 1 |
#define | FIONBIO 0x5421 |
#define | portYIELD_FROM_ISR(woken) do { } while (0) |
#define | vSemaphoreCreateBinary(xSemaphore) |
#define | xTimerGetTimerDaemonTaskHandle() (!!! "Not implemented" !!!) |
#define | HTONS(hostshort) UIP_HTONS(hostshort) |
Typedefs | |
typedef int32_t | BaseType_t |
typedef uint32_t | UBaseType_t |
typedef uint32_t | TickType_t |
typedef struct Task_t * | TaskHandle_t |
typedef void(* | TaskFunction_t) (void *pvParameters) |
typedef struct DummySemaphoreQueue_t * | SemaphoreHandle_t |
typedef struct DummySemaphoreQueue_t * | QueueHandle_t |
typedef struct Timer_t * | TimerHandle_t |
typedef void(* | TimerCallbackFunction_t) (TimerHandle_t pxTimer) |
typedef void(* | PendedFunction_t) (void *pvParameter1, uint32_t ulParameter2) |
typedef uint32_t | EventBits_t |
typedef struct EventGroup_t * | EventGroupHandle_t |
typedef uint16_t | sa_family_t |
typedef uint32_t | socklen_t |
Functions | |
BaseType_t | xTaskCreate (TaskFunction_t pvTaskCode, const char *const pcName, unsigned short usStackDepth, void *pvParameters, UBaseType_t uxPriority, TaskHandle_t *pvCreatedTask) |
void | vTaskDelete (TaskHandle_t xTask) |
void | vTaskDelay (const TickType_t xTicksToDelay) |
void | vTaskDelayUntil (TickType_t *pxPreviousWakeTime, const TickType_t xTimeIncrement) |
void | taskYIELD (void) |
void | taskENTER_CRITICAL (void) |
void | taskEXIT_CRITICAL (void) |
void | taskDISABLE_INTERRUPTS (void) |
void | taskENABLE_INTERRUPTS (void) |
static UBaseType_t | uxTaskPriorityGet (TaskHandle_t xTask) |
static void | vTaskPrioritySet (TaskHandle_t xTask, UBaseType_t uxNewPriority) |
void | vTaskSuspend (TaskHandle_t xTaskToSuspend) |
void | vTaskResume (TaskHandle_t xTaskToResume) |
static BaseType_t | xTaskResumeFromISR (TaskHandle_t xTaskToResume) |
void | vTaskStartScheduler (void) |
void | vTaskCancelBlockingCall (TaskHandle_t xTaskToWakeup) |
SemaphoreHandle_t | xSemaphoreCreateImpl (UBaseType_t uxMaxCount, UBaseType_t uxInitialCount, bool xRecursive) |
static SemaphoreHandle_t | xSemaphoreCreateBinary (void) |
static SemaphoreHandle_t | xSemaphoreCreateCounting (UBaseType_t uxMaxCount, UBaseType_t uxInitialCount) |
static SemaphoreHandle_t | xSemaphoreCreateMutex (void) |
static SemaphoreHandle_t | xSemaphoreCreateRecursiveMutex (void) |
void | vSemaphoreDelete (SemaphoreHandle_t xSemaphore) |
TaskHandle_t | xSemaphoreGetMutexHolder (SemaphoreHandle_t xSemaphore) |
BaseType_t | xSemaphoreGive (SemaphoreHandle_t xSemaphore) |
static BaseType_t | xSemaphoreGiveFromISR (SemaphoreHandle_t xSemaphore, BaseType_t *const pxHigherPriorityTaskWoken) |
static BaseType_t | xSemaphoreGiveRecursive (SemaphoreHandle_t xSemaphore) |
BaseType_t | xSemaphoreTake (SemaphoreHandle_t xSemaphore, TickType_t xTicksToWait) |
static BaseType_t | xSemaphoreTakeFromISR (SemaphoreHandle_t xSemaphore, BaseType_t *const pxHigherPriorityTaskWoken) |
static BaseType_t | xSemaphoreTakeRecursive (SemaphoreHandle_t xSemaphore, TickType_t xTicksToWait) |
TimerHandle_t | xTimerCreate (const char *const pcTimerName, const TickType_t xTimerPeriod, const UBaseType_t uxAutoReload, void *const pvTimerID, TimerCallbackFunction_t pxCallbackFunction) |
BaseType_t | xTimerIsTimerActive (TimerHandle_t xTimer) |
BaseType_t | xTimerStart (TimerHandle_t xTimer, TickType_t xBlockTime) |
BaseType_t | xTimerStop (TimerHandle_t xTimer, TickType_t xBlockTime) |
BaseType_t | xTimerChangePeriod (TimerHandle_t xTimer, TickType_t xNewPeriod, TickType_t xBlockTime) |
BaseType_t | xTimerDelete (TimerHandle_t xTimer, TickType_t xBlockTime) |
static BaseType_t | xTimerReset (TimerHandle_t xTimer, TickType_t xBlockTime) |
static BaseType_t | xTimerStartFromISR (TimerHandle_t xTimer, BaseType_t *pxHigherPriorityTaskWoken) |
static BaseType_t | xTimerStopFromISR (TimerHandle_t xTimer, BaseType_t *pxHigherPriorityTaskWoken) |
static BaseType_t | xTimerChangePeriodFromISR (TimerHandle_t xTimer, TickType_t xNewPeriod, BaseType_t *pxHigherPriorityTaskWoken) |
static BaseType_t | xTimerResetFromISR (TimerHandle_t xTimer, BaseType_t *pxHigherPriorityTaskWoken) |
void * | pvTimerGetTimerID (TimerHandle_t xTimer) |
void | vTimerSetTimerID (TimerHandle_t xTimer, void *pvNewID) |
const char * | pcTimerGetTimerName (TimerHandle_t xTimer) |
BaseType_t | xTimerPendFunctionCall (PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, TickType_t xTicksToWait) |
static BaseType_t | xTimerPendFunctionCallFromISR (PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, BaseType_t *pxHigherPriorityTaskWoken) |
EventGroupHandle_t | xEventGroupCreate (void) |
EventBits_t | xEventGroupWaitBits (const EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToWaitFor, const BaseType_t xClearOnExit, const BaseType_t xWaitForAllBits, TickType_t xTicksToWait) |
EventBits_t | xEventGroupSetBits (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet) |
static BaseType_t | xEventGroupSetBitsFromISR (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken) |
EventBits_t | xEventGroupClearBits (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear) |
static EventBits_t | xEventGroupClearBitsFromISR (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear) |
EventBits_t | xEventGroupGetBits (EventGroupHandle_t xEventGroup) |
static EventBits_t | xEventGroupGetBitsFromISR (EventGroupHandle_t xEventGroup) |
EventBits_t | xEventGroupSync (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait) |
void | vEventGroupDelete (EventGroupHandle_t xEventGroup) |
static uint16_t | htons (uint16_t hostshort) |
int | socket (int domain, int type, int protocol) |
int | bind (int sockfd, const struct sockaddr *addr, socklen_t addrlen) |
int | listen (int sockfd, int backlog) |
int | accept (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
int | connect (int sockfd, const struct sockaddr *addr, socklen_t addrlen) |
int | closesocket (int sockfd) |
ssize_t | recv (int sockfd, void *buf, size_t len, int flags) |
int | poll_recv (int sockfd, uint32_t timeout) |
ssize_t | send (int sockfd, const void *buf, size_t len, int flags) |
int | poll_send (int sockfd, uint32_t timeout) |
int | select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
int | ioctlsocket (int sockfd, int request, const void *opt) |
int | setsockopt (int sockfd, int level, int request, const void *opt, socklen_t length) |
Header file for the rtos emulation layer.
Definition in file rtos.h.