mpu_prototypes.h
Go to the documentation of this file.
/*
* FreeRTOS Kernel V10.0.0
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software. If you wish to use our Amazon
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* http://www.FreeRTOS.org
* http://aws.amazon.com/freertos
*
* 1 tab == 4 spaces!
*/
/*
* When the MPU is used the standard (non MPU) API functions are mapped to
* equivalents that start "MPU_", the prototypes for which are defined in this
* header files. This will cause the application code to call the MPU_ version
* which wraps the non-MPU version with privilege promoting then demoting code,
* so the kernel code always runs will full privileges.
*/
#ifndef MPU_PROTOTYPES_H
#define MPU_PROTOTYPES_H
/* MPU versions of tasks.h API functions. */
BaseType_t MPU_xTaskCreate( TaskFunction_t pxTaskCode, const char * const pcName, const uint16_t usStackDepth, void * const pvParameters, UBaseType_t uxPriority, TaskHandle_t * const pxCreatedTask );
TaskHandle_t MPU_xTaskCreateStatic( TaskFunction_t pxTaskCode, const char * const pcName, const uint32_t ulStackDepth, void * const pvParameters, UBaseType_t uxPriority, StackType_t * const puxStackBuffer, StaticTask_t * const pxTaskBuffer );
BaseType_t MPU_xTaskCreateRestricted( const TaskParameters_t * const pxTaskDefinition, TaskHandle_t *pxCreatedTask );
BaseType_t MPU_xTaskCreateRestrictedStatic( const TaskParameters_t * const pxTaskDefinition, TaskHandle_t *pxCreatedTask );
void MPU_vTaskAllocateMPURegions( TaskHandle_t xTask, const MemoryRegion_t * const pxRegions );
void MPU_vTaskDelete( TaskHandle_t xTaskToDelete );
void MPU_vTaskDelay( const TickType_t xTicksToDelay );
void MPU_vTaskDelayUntil( TickType_t * const pxPreviousWakeTime, const TickType_t xTimeIncrement );
BaseType_t MPU_xTaskAbortDelay( TaskHandle_t xTask );
UBaseType_t MPU_uxTaskPriorityGet( TaskHandle_t xTask );
eTaskState MPU_eTaskGetState( TaskHandle_t xTask );
void MPU_vTaskGetInfo( TaskHandle_t xTask, TaskStatus_t *pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState );
void MPU_vTaskPrioritySet( TaskHandle_t xTask, UBaseType_t uxNewPriority );
void MPU_vTaskSuspend( TaskHandle_t xTaskToSuspend );
void MPU_vTaskResume( TaskHandle_t xTaskToResume );
void MPU_vTaskStartScheduler( void );
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 );
TaskHandle_t MPU_xTaskGetHandle( const char *pcNameToQuery );
UBaseType_t MPU_uxTaskGetStackHighWaterMark( TaskHandle_t xTask );
void MPU_vTaskSetApplicationTaskTag( TaskHandle_t xTask, TaskHookFunction_t pxHookFunction );
TaskHookFunction_t MPU_xTaskGetApplicationTaskTag( TaskHandle_t xTask );
void MPU_vTaskSetThreadLocalStoragePointer( TaskHandle_t xTaskToSet, BaseType_t xIndex, void *pvValue );
void * MPU_pvTaskGetThreadLocalStoragePointer( TaskHandle_t xTaskToQuery, BaseType_t xIndex );
BaseType_t MPU_xTaskCallApplicationTaskHook( TaskHandle_t xTask, void *pvParameter );
TaskHandle_t MPU_xTaskGetIdleTaskHandle( void );
UBaseType_t MPU_uxTaskGetSystemState( TaskStatus_t * const pxTaskStatusArray, const UBaseType_t uxArraySize, uint32_t * const pulTotalRunTime );
void MPU_vTaskList( char * pcWriteBuffer );
void MPU_vTaskGetRunTimeStats( char *pcWriteBuffer );
BaseType_t MPU_xTaskGenericNotify( TaskHandle_t xTaskToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t *pulPreviousNotificationValue );
BaseType_t MPU_xTaskNotifyWait( uint32_t ulBitsToClearOnEntry, uint32_t ulBitsToClearOnExit, uint32_t *pulNotificationValue, TickType_t xTicksToWait );
uint32_t MPU_ulTaskNotifyTake( BaseType_t xClearCountOnExit, TickType_t xTicksToWait );
BaseType_t MPU_xTaskNotifyStateClear( TaskHandle_t xTask );
BaseType_t MPU_xTaskIncrementTick( void );
TaskHandle_t MPU_xTaskGetCurrentTaskHandle( void );
void MPU_vTaskSetTimeOutState( TimeOut_t * const pxTimeOut );
BaseType_t MPU_xTaskCheckForTimeOut( TimeOut_t * const pxTimeOut, TickType_t * const pxTicksToWait );
void MPU_vTaskMissedYield( void );
BaseType_t MPU_xTaskGetSchedulerState( void );
/* MPU versions of queue.h API functions. */
BaseType_t MPU_xQueueGenericSend( QueueHandle_t xQueue, const void * const pvItemToQueue, TickType_t xTicksToWait, const BaseType_t xCopyPosition );
BaseType_t MPU_xQueueReceive( QueueHandle_t xQueue, void * const pvBuffer, TickType_t xTicksToWait );
BaseType_t xQueuePeek( QueueHandle_t xQueue, void * const pvBuffer, TickType_t xTicksToWait );
BaseType_t xQueueSemaphoreTake( QueueHandle_t xQueue, TickType_t xTicksToWait );
UBaseType_t MPU_uxQueueMessagesWaiting( const QueueHandle_t xQueue );
UBaseType_t MPU_uxQueueSpacesAvailable( const QueueHandle_t xQueue );
void MPU_vQueueDelete( QueueHandle_t xQueue );
QueueHandle_t MPU_xQueueCreateMutex( const uint8_t ucQueueType );
QueueHandle_t MPU_xQueueCreateMutexStatic( const uint8_t ucQueueType, StaticQueue_t *pxStaticQueue );
QueueHandle_t MPU_xQueueCreateCountingSemaphore( const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount );
QueueHandle_t MPU_xQueueCreateCountingSemaphoreStatic( const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount, StaticQueue_t *pxStaticQueue );
void* MPU_xQueueGetMutexHolder( QueueHandle_t xSemaphore );
BaseType_t MPU_xQueueTakeMutexRecursive( QueueHandle_t xMutex, TickType_t xTicksToWait );
BaseType_t MPU_xQueueGiveMutexRecursive( QueueHandle_t pxMutex );
void MPU_vQueueAddToRegistry( QueueHandle_t xQueue, const char *pcName );
void MPU_vQueueUnregisterQueue( QueueHandle_t xQueue );
const char * MPU_pcQueueGetName( QueueHandle_t xQueue );
QueueHandle_t MPU_xQueueGenericCreate( const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, const uint8_t ucQueueType );
QueueHandle_t MPU_xQueueGenericCreateStatic( const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, uint8_t *pucQueueStorage, StaticQueue_t *pxStaticQueue, const uint8_t ucQueueType );
QueueSetHandle_t MPU_xQueueCreateSet( const UBaseType_t uxEventQueueLength );
BaseType_t MPU_xQueueAddToSet( QueueSetMemberHandle_t xQueueOrSemaphore, QueueSetHandle_t xQueueSet );
BaseType_t MPU_xQueueRemoveFromSet( QueueSetMemberHandle_t xQueueOrSemaphore, QueueSetHandle_t xQueueSet );
QueueSetMemberHandle_t MPU_xQueueSelectFromSet( QueueSetHandle_t xQueueSet, const TickType_t xTicksToWait );
BaseType_t MPU_xQueueGenericReset( QueueHandle_t xQueue, BaseType_t xNewQueue );
void MPU_vQueueSetQueueNumber( QueueHandle_t xQueue, UBaseType_t uxQueueNumber );
UBaseType_t MPU_uxQueueGetQueueNumber( QueueHandle_t xQueue );
uint8_t MPU_ucQueueGetQueueType( QueueHandle_t xQueue );
/* MPU versions of timers.h API functions. */
TimerHandle_t MPU_xTimerCreate( const char * const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void * const pvTimerID, TimerCallbackFunction_t pxCallbackFunction );
TimerHandle_t MPU_xTimerCreateStatic( const char * const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void * const pvTimerID, TimerCallbackFunction_t pxCallbackFunction, StaticTimer_t *pxTimerBuffer );
void * MPU_pvTimerGetTimerID( const TimerHandle_t xTimer );
void MPU_vTimerSetTimerID( TimerHandle_t xTimer, void *pvNewID );
BaseType_t MPU_xTimerIsTimerActive( TimerHandle_t xTimer );
TaskHandle_t MPU_xTimerGetTimerDaemonTaskHandle( void );
BaseType_t MPU_xTimerPendFunctionCall( PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, TickType_t xTicksToWait );
const char * MPU_pcTimerGetName( TimerHandle_t xTimer );
TickType_t MPU_xTimerGetPeriod( TimerHandle_t xTimer );
TickType_t MPU_xTimerGetExpiryTime( TimerHandle_t xTimer );
BaseType_t MPU_xTimerCreateTimerTask( void );
BaseType_t MPU_xTimerGenericCommand( TimerHandle_t xTimer, const BaseType_t xCommandID, const TickType_t xOptionalValue, BaseType_t * const pxHigherPriorityTaskWoken, const TickType_t xTicksToWait );
/* MPU versions of event_group.h API functions. */
EventGroupHandle_t MPU_xEventGroupCreate( void );
EventGroupHandle_t MPU_xEventGroupCreateStatic( StaticEventGroup_t *pxEventGroupBuffer );
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 );
UBaseType_t MPU_uxEventGroupGetNumber( void* xEventGroup );
/* MPU versions of message/stream_buffer.h API functions. */
size_t MPU_xStreamBufferSend( StreamBufferHandle_t xStreamBuffer, const void *pvTxData, size_t xDataLengthBytes, TickType_t xTicksToWait );
size_t MPU_xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer, const void *pvTxData, size_t xDataLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken );
size_t MPU_xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer, void *pvRxData, size_t xBufferLengthBytes, TickType_t xTicksToWait );
size_t MPU_xStreamBufferReceiveFromISR( StreamBufferHandle_t xStreamBuffer, void *pvRxData, size_t xBufferLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken );
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 );
StreamBufferHandle_t MPU_xStreamBufferGenericCreate( size_t xBufferSizeBytes, size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer );
StreamBufferHandle_t MPU_xStreamBufferGenericCreateStatic( size_t xBufferSizeBytes, size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer, uint8_t * const pucStreamBufferStorageArea, StaticStreamBuffer_t * const pxStaticStreamBuffer );
#endif /* MPU_PROTOTYPES_H */
StreamBufferHandle_t
void * StreamBufferHandle_t
Definition: stream_buffer.h:61
MPU_pcTaskGetName
char * MPU_pcTaskGetName(TaskHandle_t xTaskToQuery)
MPU_xStreamBufferSendFromISR
size_t MPU_xStreamBufferSendFromISR(StreamBufferHandle_t xStreamBuffer, const void *pvTxData, size_t xDataLengthBytes, BaseType_t *const pxHigherPriorityTaskWoken)
MPU_xQueueCreateCountingSemaphore
QueueHandle_t MPU_xQueueCreateCountingSemaphore(const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount)
MPU_xStreamBufferSend
size_t MPU_xStreamBufferSend(StreamBufferHandle_t xStreamBuffer, const void *pvTxData, size_t xDataLengthBytes, TickType_t xTicksToWait)
MPU_vTaskDelay
void MPU_vTaskDelay(const TickType_t xTicksToDelay)
MPU_vTimerSetTimerID
void MPU_vTimerSetTimerID(TimerHandle_t xTimer, void *pvNewID)
MPU_pvTimerGetTimerID
void * MPU_pvTimerGetTimerID(const TimerHandle_t xTimer)
TaskHookFunction_t
BaseType_t(* TaskHookFunction_t)(void *)
Definition: task.h:68
MPU_xQueueCreateMutex
QueueHandle_t MPU_xQueueCreateMutex(const uint8_t ucQueueType)
TimerCallbackFunction_t
void(* TimerCallbackFunction_t)(TimerHandle_t xTimer)
Definition: timers.h:82
MPU_xQueueSelectFromSet
QueueSetMemberHandle_t MPU_xQueueSelectFromSet(QueueSetHandle_t xQueueSet, const TickType_t xTicksToWait)
MPU_ucQueueGetQueueType
uint8_t MPU_ucQueueGetQueueType(QueueHandle_t xQueue)
eNotifyAction
eNotifyAction
Definition: task.h:83
xSTATIC_STREAM_BUFFER
Definition: FreeRTOS.h:1152
MPU_xTaskCreateRestricted
BaseType_t MPU_xTaskCreateRestricted(const TaskParameters_t *const pxTaskDefinition, TaskHandle_t *pxCreatedTask)
MPU_xTimerIsTimerActive
BaseType_t MPU_xTimerIsTimerActive(TimerHandle_t xTimer)
PendedFunction_t
void(* PendedFunction_t)(void *, uint32_t)
Definition: timers.h:88
MPU_xTimerCreateTimerTask
BaseType_t MPU_xTimerCreateTimerTask(void)
eTaskState
eTaskState
Definition: task.h:72
MPU_xQueueRemoveFromSet
BaseType_t MPU_xQueueRemoveFromSet(QueueSetMemberHandle_t xQueueOrSemaphore, QueueSetHandle_t xQueueSet)
MPU_vQueueUnregisterQueue
void MPU_vQueueUnregisterQueue(QueueHandle_t xQueue)
MPU_xTaskGetCurrentTaskHandle
TaskHandle_t MPU_xTaskGetCurrentTaskHandle(void)
MPU_xTaskCheckForTimeOut
BaseType_t MPU_xTaskCheckForTimeOut(TimeOut_t *const pxTimeOut, TickType_t *const pxTicksToWait)
MPU_uxEventGroupGetNumber
UBaseType_t MPU_uxEventGroupGetNumber(void *xEventGroup)
MPU_xTaskAbortDelay
BaseType_t MPU_xTaskAbortDelay(TaskHandle_t xTask)
MPU_xEventGroupCreate
EventGroupHandle_t MPU_xEventGroupCreate(void)
MPU_vTaskAllocateMPURegions
void MPU_vTaskAllocateMPURegions(TaskHandle_t xTask, const MemoryRegion_t *const pxRegions)
MPU_vEventGroupDelete
void MPU_vEventGroupDelete(EventGroupHandle_t xEventGroup)
MPU_vTaskPrioritySet
void MPU_vTaskPrioritySet(TaskHandle_t xTask, UBaseType_t uxNewPriority)
MPU_vTaskMissedYield
void MPU_vTaskMissedYield(void)
MPU_xStreamBufferReset
BaseType_t MPU_xStreamBufferReset(StreamBufferHandle_t xStreamBuffer)
MPU_xTaskGetHandle
TaskHandle_t MPU_xTaskGetHandle(const char *pcNameToQuery)
MPU_xStreamBufferGenericCreate
StreamBufferHandle_t MPU_xStreamBufferGenericCreate(size_t xBufferSizeBytes, size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer)
MPU_xTaskCallApplicationTaskHook
BaseType_t MPU_xTaskCallApplicationTaskHook(TaskHandle_t xTask, void *pvParameter)
MPU_xStreamBufferBytesAvailable
size_t MPU_xStreamBufferBytesAvailable(StreamBufferHandle_t xStreamBuffer)
xTASK_PARAMETERS
Definition: task.h:114
MPU_vTaskSetTimeOutState
void MPU_vTaskSetTimeOutState(TimeOut_t *const pxTimeOut)
xMEMORY_REGION
Definition: task.h:104
MPU_uxQueueSpacesAvailable
UBaseType_t MPU_uxQueueSpacesAvailable(const QueueHandle_t xQueue)
MPU_xTaskNotifyStateClear
BaseType_t MPU_xTaskNotifyStateClear(TaskHandle_t xTask)
EventBits_t
TickType_t EventBits_t
Definition: event_groups.h:92
MPU_pvTaskGetThreadLocalStoragePointer
void * MPU_pvTaskGetThreadLocalStoragePointer(TaskHandle_t xTaskToQuery, BaseType_t xIndex)
MPU_xTimerGetTimerDaemonTaskHandle
TaskHandle_t MPU_xTimerGetTimerDaemonTaskHandle(void)
MPU_vStreamBufferDelete
void MPU_vStreamBufferDelete(StreamBufferHandle_t xStreamBuffer)
MPU_xEventGroupSetBits
EventBits_t MPU_xEventGroupSetBits(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet)
MPU_xQueueTakeMutexRecursive
BaseType_t MPU_xQueueTakeMutexRecursive(QueueHandle_t xMutex, TickType_t xTicksToWait)
EventGroupHandle_t
void * EventGroupHandle_t
Definition: event_groups.h:82
MPU_vQueueSetQueueNumber
void MPU_vQueueSetQueueNumber(QueueHandle_t xQueue, UBaseType_t uxQueueNumber)
xSTATIC_QUEUE
Definition: FreeRTOS.h:1048
TickType_t
uint32_t TickType_t
Definition: portmacro.h:64
MPU_xQueueGetMutexHolder
void * MPU_xQueueGetMutexHolder(QueueHandle_t xSemaphore)
MPU_pcQueueGetName
const char * MPU_pcQueueGetName(QueueHandle_t xQueue)
MPU_vTaskList
void MPU_vTaskList(char *pcWriteBuffer)
TaskHandle_t
void * TaskHandle_t
Definition: task.h:62
MPU_xEventGroupSync
EventBits_t MPU_xEventGroupSync(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
MPU_vTaskSuspendAll
void MPU_vTaskSuspendAll(void)
MPU_xTaskCreateRestrictedStatic
BaseType_t MPU_xTaskCreateRestrictedStatic(const TaskParameters_t *const pxTaskDefinition, TaskHandle_t *pxCreatedTask)
MPU_ulTaskNotifyTake
uint32_t MPU_ulTaskNotifyTake(BaseType_t xClearCountOnExit, TickType_t xTicksToWait)
QueueSetHandle_t
void * QueueSetHandle_t
Definition: queue.h:54
MPU_xTaskNotifyWait
BaseType_t MPU_xTaskNotifyWait(uint32_t ulBitsToClearOnEntry, uint32_t ulBitsToClearOnExit, uint32_t *pulNotificationValue, TickType_t xTicksToWait)
MPU_xTaskGenericNotify
BaseType_t MPU_xTaskGenericNotify(TaskHandle_t xTaskToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t *pulPreviousNotificationValue)
MPU_vQueueDelete
void MPU_vQueueDelete(QueueHandle_t xQueue)
MPU_vQueueAddToRegistry
void MPU_vQueueAddToRegistry(QueueHandle_t xQueue, const char *pcName)
UBaseType_t
unsigned long UBaseType_t
Definition: portmacro.h:58
MPU_xQueueGenericCreate
QueueHandle_t MPU_xQueueGenericCreate(const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, const uint8_t ucQueueType)
MPU_vTaskResume
void MPU_vTaskResume(TaskHandle_t xTaskToResume)
xSTATIC_TIMER
Definition: FreeRTOS.h:1121
MPU_xTimerPendFunctionCall
BaseType_t MPU_xTimerPendFunctionCall(PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, TickType_t xTicksToWait)
xTIME_OUT
Definition: task.h:95
MPU_xTimerGetExpiryTime
TickType_t MPU_xTimerGetExpiryTime(TimerHandle_t xTimer)
MPU_xTaskGetTickCount
TickType_t MPU_xTaskGetTickCount(void)
MPU_vTaskDelete
void MPU_vTaskDelete(TaskHandle_t xTaskToDelete)
MPU_uxTaskGetNumberOfTasks
UBaseType_t MPU_uxTaskGetNumberOfTasks(void)
StackType_t
portSTACK_TYPE StackType_t
Definition: portmacro.h:56
MPU_xStreamBufferSpacesAvailable
size_t MPU_xStreamBufferSpacesAvailable(StreamBufferHandle_t xStreamBuffer)
xSTATIC_EVENT_GROUP
Definition: FreeRTOS.h:1092
MPU_xTaskResumeAll
BaseType_t MPU_xTaskResumeAll(void)
xSTATIC_TCB
Definition: FreeRTOS.h:986
MPU_xTimerCreateStatic
TimerHandle_t MPU_xTimerCreateStatic(const char *const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void *const pvTimerID, TimerCallbackFunction_t pxCallbackFunction, StaticTimer_t *pxTimerBuffer)
MPU_xEventGroupClearBits
EventBits_t MPU_xEventGroupClearBits(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear)
xTASK_STATUS
Definition: task.h:130
TaskFunction_t
void(* TaskFunction_t)(void *)
Definition: projdefs.h:36
xQueuePeek
BaseType_t xQueuePeek(QueueHandle_t xQueue, void *const pvBuffer, TickType_t xTicksToWait)
Definition: queue.c:1601
MPU_xQueueReceive
BaseType_t MPU_xQueueReceive(QueueHandle_t xQueue, void *const pvBuffer, TickType_t xTicksToWait)
MPU_vTaskGetInfo
void MPU_vTaskGetInfo(TaskHandle_t xTask, TaskStatus_t *pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState)
MPU_xStreamBufferIsEmpty
BaseType_t MPU_xStreamBufferIsEmpty(StreamBufferHandle_t xStreamBuffer)
MPU_xQueueAddToSet
BaseType_t MPU_xQueueAddToSet(QueueSetMemberHandle_t xQueueOrSemaphore, QueueSetHandle_t xQueueSet)
MPU_xTaskGetIdleTaskHandle
TaskHandle_t MPU_xTaskGetIdleTaskHandle(void)
MPU_xStreamBufferIsFull
BaseType_t MPU_xStreamBufferIsFull(StreamBufferHandle_t xStreamBuffer)
MPU_xQueueGiveMutexRecursive
BaseType_t MPU_xQueueGiveMutexRecursive(QueueHandle_t pxMutex)
TimerHandle_t
void * TimerHandle_t
Definition: timers.h:77
MPU_xTaskCreateStatic
TaskHandle_t MPU_xTaskCreateStatic(TaskFunction_t pxTaskCode, const char *const pcName, const uint32_t ulStackDepth, void *const pvParameters, UBaseType_t uxPriority, StackType_t *const puxStackBuffer, StaticTask_t *const pxTaskBuffer)
BaseType_t
long BaseType_t
Definition: portmacro.h:57
QueueHandle_t
void * QueueHandle_t
Definition: queue.h:47
MPU_uxQueueMessagesWaiting
UBaseType_t MPU_uxQueueMessagesWaiting(const QueueHandle_t xQueue)
MPU_xQueueGenericReset
BaseType_t MPU_xQueueGenericReset(QueueHandle_t xQueue, BaseType_t xNewQueue)
MPU_xTaskGetSchedulerState
BaseType_t MPU_xTaskGetSchedulerState(void)
MPU_xQueueGenericSend
BaseType_t MPU_xQueueGenericSend(QueueHandle_t xQueue, const void *const pvItemToQueue, TickType_t xTicksToWait, const BaseType_t xCopyPosition)
MPU_vTaskSetApplicationTaskTag
void MPU_vTaskSetApplicationTaskTag(TaskHandle_t xTask, TaskHookFunction_t pxHookFunction)
MPU_xStreamBufferReceive
size_t MPU_xStreamBufferReceive(StreamBufferHandle_t xStreamBuffer, void *pvRxData, size_t xBufferLengthBytes, TickType_t xTicksToWait)
MPU_xStreamBufferReceiveFromISR
size_t MPU_xStreamBufferReceiveFromISR(StreamBufferHandle_t xStreamBuffer, void *pvRxData, size_t xBufferLengthBytes, BaseType_t *const pxHigherPriorityTaskWoken)
xQueueSemaphoreTake
BaseType_t xQueueSemaphoreTake(QueueHandle_t xQueue, TickType_t xTicksToWait)
Definition: queue.c:1382
MPU_uxQueueGetQueueNumber
UBaseType_t MPU_uxQueueGetQueueNumber(QueueHandle_t xQueue)
MPU_pcTimerGetName
const char * MPU_pcTimerGetName(TimerHandle_t xTimer)
MPU_xQueueCreateMutexStatic
QueueHandle_t MPU_xQueueCreateMutexStatic(const uint8_t ucQueueType, StaticQueue_t *pxStaticQueue)
MPU_vTaskGetRunTimeStats
void MPU_vTaskGetRunTimeStats(char *pcWriteBuffer)
MPU_uxTaskGetSystemState
UBaseType_t MPU_uxTaskGetSystemState(TaskStatus_t *const pxTaskStatusArray, const UBaseType_t uxArraySize, uint32_t *const pulTotalRunTime)
MPU_vTaskSetThreadLocalStoragePointer
void MPU_vTaskSetThreadLocalStoragePointer(TaskHandle_t xTaskToSet, BaseType_t xIndex, void *pvValue)
MPU_vTaskDelayUntil
void MPU_vTaskDelayUntil(TickType_t *const pxPreviousWakeTime, const TickType_t xTimeIncrement)
MPU_xTaskCreate
BaseType_t MPU_xTaskCreate(TaskFunction_t pxTaskCode, const char *const pcName, const uint16_t usStackDepth, void *const pvParameters, UBaseType_t uxPriority, TaskHandle_t *const pxCreatedTask)
MPU_xStreamBufferGenericCreateStatic
StreamBufferHandle_t MPU_xStreamBufferGenericCreateStatic(size_t xBufferSizeBytes, size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer, uint8_t *const pucStreamBufferStorageArea, StaticStreamBuffer_t *const pxStaticStreamBuffer)
MPU_uxTaskGetStackHighWaterMark
UBaseType_t MPU_uxTaskGetStackHighWaterMark(TaskHandle_t xTask)
MPU_xQueueCreateCountingSemaphoreStatic
QueueHandle_t MPU_xQueueCreateCountingSemaphoreStatic(const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount, StaticQueue_t *pxStaticQueue)
MPU_xQueueCreateSet
QueueSetHandle_t MPU_xQueueCreateSet(const UBaseType_t uxEventQueueLength)
MPU_eTaskGetState
eTaskState MPU_eTaskGetState(TaskHandle_t xTask)
MPU_xTimerCreate
TimerHandle_t MPU_xTimerCreate(const char *const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void *const pvTimerID, TimerCallbackFunction_t pxCallbackFunction)
MPU_vTaskSuspend
void MPU_vTaskSuspend(TaskHandle_t xTaskToSuspend)
MPU_uxTaskPriorityGet
UBaseType_t MPU_uxTaskPriorityGet(TaskHandle_t xTask)
MPU_xTaskGetApplicationTaskTag
TaskHookFunction_t MPU_xTaskGetApplicationTaskTag(TaskHandle_t xTask)
MPU_xEventGroupWaitBits
EventBits_t MPU_xEventGroupWaitBits(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToWaitFor, const BaseType_t xClearOnExit, const BaseType_t xWaitForAllBits, TickType_t xTicksToWait)
MPU_xTimerGenericCommand
BaseType_t MPU_xTimerGenericCommand(TimerHandle_t xTimer, const BaseType_t xCommandID, const TickType_t xOptionalValue, BaseType_t *const pxHigherPriorityTaskWoken, const TickType_t xTicksToWait)
MPU_xQueueGenericCreateStatic
QueueHandle_t MPU_xQueueGenericCreateStatic(const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, uint8_t *pucQueueStorage, StaticQueue_t *pxStaticQueue, const uint8_t ucQueueType)
MPU_xEventGroupCreateStatic
EventGroupHandle_t MPU_xEventGroupCreateStatic(StaticEventGroup_t *pxEventGroupBuffer)
QueueSetMemberHandle_t
void * QueueSetMemberHandle_t
Definition: queue.h:61
MPU_xStreamBufferSetTriggerLevel
BaseType_t MPU_xStreamBufferSetTriggerLevel(StreamBufferHandle_t xStreamBuffer, size_t xTriggerLevel)
MPU_vTaskStartScheduler
void MPU_vTaskStartScheduler(void)
MPU_xTimerGetPeriod
TickType_t MPU_xTimerGetPeriod(TimerHandle_t xTimer)
MPU_xTaskIncrementTick
BaseType_t MPU_xTaskIncrementTick(void)