FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mpu_wrappers.c File Reference

Macros

#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE
 

Functions

BaseType_t xPortRaisePrivilege (void)
 Calls the port specific code to raise the privilege. More...
 
void vPortResetPrivilege (BaseType_t xRunningPrivileged)
 
void MPU_vTaskAllocateMPURegions (TaskHandle_t xTask, const MemoryRegion_t *const xRegions)
 
void MPU_vTaskSuspendAll (void)
 
BaseType_t MPU_xTaskResumeAll (void)
 
TickType_t MPU_xTaskGetTickCount (void)
 
UBaseType_t MPU_uxTaskGetNumberOfTasks (void)
 
char * MPU_pcTaskGetName (TaskHandle_t xTaskToQuery)
 
BaseType_t MPU_xTaskCatchUpTicks (TickType_t xTicksToCatchUp)
 
void MPU_vTaskSetTimeOutState (TimeOut_t *const pxTimeOut)
 
BaseType_t MPU_xTaskCheckForTimeOut (TimeOut_t *const pxTimeOut, TickType_t *const pxTicksToWait)
 
BaseType_t MPU_xQueueGenericReset (QueueHandle_t pxQueue, BaseType_t xNewQueue)
 
BaseType_t MPU_xQueueGenericSend (QueueHandle_t xQueue, const void *const pvItemToQueue, TickType_t xTicksToWait, BaseType_t xCopyPosition)
 
UBaseType_t MPU_uxQueueMessagesWaiting (const QueueHandle_t pxQueue)
 
UBaseType_t MPU_uxQueueSpacesAvailable (const QueueHandle_t xQueue)
 
BaseType_t MPU_xQueueReceive (QueueHandle_t pxQueue, void *const pvBuffer, TickType_t xTicksToWait)
 
BaseType_t MPU_xQueuePeek (QueueHandle_t xQueue, void *const pvBuffer, TickType_t xTicksToWait)
 
BaseType_t MPU_xQueueSemaphoreTake (QueueHandle_t xQueue, TickType_t xTicksToWait)
 
void MPU_vQueueDelete (QueueHandle_t xQueue)
 
EventBits_t MPU_xEventGroupWaitBits (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToWaitFor, const BaseType_t xClearOnExit, const BaseType_t xWaitForAllBits, TickType_t xTicksToWait)
 
EventBits_t MPU_xEventGroupClearBits (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear)
 
EventBits_t MPU_xEventGroupSetBits (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet)
 
EventBits_t MPU_xEventGroupSync (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
 
void MPU_vEventGroupDelete (EventGroupHandle_t xEventGroup)
 
size_t MPU_xStreamBufferSend (StreamBufferHandle_t xStreamBuffer, const void *pvTxData, size_t xDataLengthBytes, TickType_t xTicksToWait)
 
size_t MPU_xStreamBufferNextMessageLengthBytes (StreamBufferHandle_t xStreamBuffer)
 
size_t MPU_xStreamBufferReceive (StreamBufferHandle_t xStreamBuffer, void *pvRxData, size_t xBufferLengthBytes, TickType_t xTicksToWait)
 
void MPU_vStreamBufferDelete (StreamBufferHandle_t xStreamBuffer)
 
BaseType_t MPU_xStreamBufferIsFull (StreamBufferHandle_t xStreamBuffer)
 
BaseType_t MPU_xStreamBufferIsEmpty (StreamBufferHandle_t xStreamBuffer)
 
BaseType_t MPU_xStreamBufferReset (StreamBufferHandle_t xStreamBuffer)
 
size_t MPU_xStreamBufferSpacesAvailable (StreamBufferHandle_t xStreamBuffer)
 
size_t MPU_xStreamBufferBytesAvailable (StreamBufferHandle_t xStreamBuffer)
 
BaseType_t MPU_xStreamBufferSetTriggerLevel (StreamBufferHandle_t xStreamBuffer, size_t xTriggerLevel)
 

Macro Definition Documentation

#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE

Function Documentation

char* MPU_pcTaskGetName ( TaskHandle_t  xTaskToQuery)
UBaseType_t MPU_uxQueueMessagesWaiting ( const QueueHandle_t  pxQueue)
UBaseType_t MPU_uxQueueSpacesAvailable ( const QueueHandle_t  xQueue)
UBaseType_t MPU_uxTaskGetNumberOfTasks ( void  )
void MPU_vEventGroupDelete ( EventGroupHandle_t  xEventGroup)
void MPU_vQueueDelete ( QueueHandle_t  xQueue)
void MPU_vStreamBufferDelete ( StreamBufferHandle_t  xStreamBuffer)
void MPU_vTaskAllocateMPURegions ( TaskHandle_t  xTask,
const MemoryRegion_t *const  xRegions 
)
void MPU_vTaskSetTimeOutState ( TimeOut_t *const  pxTimeOut)
void MPU_vTaskSuspendAll ( void  )
EventBits_t MPU_xEventGroupClearBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToClear 
)
EventBits_t MPU_xEventGroupSetBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToSet 
)
EventBits_t MPU_xEventGroupSync ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToSet,
const EventBits_t  uxBitsToWaitFor,
TickType_t  xTicksToWait 
)
EventBits_t MPU_xEventGroupWaitBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToWaitFor,
const BaseType_t  xClearOnExit,
const BaseType_t  xWaitForAllBits,
TickType_t  xTicksToWait 
)
BaseType_t MPU_xQueueGenericReset ( QueueHandle_t  pxQueue,
BaseType_t  xNewQueue 
)
BaseType_t MPU_xQueueGenericSend ( QueueHandle_t  xQueue,
const void *const  pvItemToQueue,
TickType_t  xTicksToWait,
BaseType_t  xCopyPosition 
)
BaseType_t MPU_xQueuePeek ( QueueHandle_t  xQueue,
void *const  pvBuffer,
TickType_t  xTicksToWait 
)
BaseType_t MPU_xQueueReceive ( QueueHandle_t  pxQueue,
void *const  pvBuffer,
TickType_t  xTicksToWait 
)
BaseType_t MPU_xQueueSemaphoreTake ( QueueHandle_t  xQueue,
TickType_t  xTicksToWait 
)
size_t MPU_xStreamBufferBytesAvailable ( StreamBufferHandle_t  xStreamBuffer)
BaseType_t MPU_xStreamBufferIsEmpty ( StreamBufferHandle_t  xStreamBuffer)
BaseType_t MPU_xStreamBufferIsFull ( StreamBufferHandle_t  xStreamBuffer)
size_t MPU_xStreamBufferNextMessageLengthBytes ( StreamBufferHandle_t  xStreamBuffer)
size_t MPU_xStreamBufferReceive ( StreamBufferHandle_t  xStreamBuffer,
void *  pvRxData,
size_t  xBufferLengthBytes,
TickType_t  xTicksToWait 
)
BaseType_t MPU_xStreamBufferReset ( StreamBufferHandle_t  xStreamBuffer)
size_t MPU_xStreamBufferSend ( StreamBufferHandle_t  xStreamBuffer,
const void *  pvTxData,
size_t  xDataLengthBytes,
TickType_t  xTicksToWait 
)
BaseType_t MPU_xStreamBufferSetTriggerLevel ( StreamBufferHandle_t  xStreamBuffer,
size_t  xTriggerLevel 
)
size_t MPU_xStreamBufferSpacesAvailable ( StreamBufferHandle_t  xStreamBuffer)
BaseType_t MPU_xTaskCatchUpTicks ( TickType_t  xTicksToCatchUp)
BaseType_t MPU_xTaskCheckForTimeOut ( TimeOut_t *const  pxTimeOut,
TickType_t *const  pxTicksToWait 
)
TickType_t MPU_xTaskGetTickCount ( void  )
BaseType_t MPU_xTaskResumeAll ( void  )