Prusa MINI Firmware overview
|
Go to the documentation of this file.
79 #ifndef MPU_PROTOTYPES_H
80 #define MPU_PROTOTYPES_H
char * MPU_pcTaskGetName(TaskHandle_t xTaskToQuery)
QueueHandle_t MPU_xQueueCreateCountingSemaphore(const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount)
void MPU_vTaskDelay(const TickType_t xTicksToDelay)
void MPU_vTimerSetTimerID(TimerHandle_t xTimer, void *pvNewID)
void * MPU_pvTimerGetTimerID(const TimerHandle_t xTimer)
BaseType_t(* TaskHookFunction_t)(void *)
Definition: task.h:109
QueueHandle_t MPU_xQueueCreateMutex(const uint8_t ucQueueType)
QueueSetMemberHandle_t MPU_xQueueSelectFromSet(QueueSetHandle_t xQueueSet, const TickType_t xTicksToWait)
uint8_t MPU_ucQueueGetQueueType(QueueHandle_t xQueue)
eNotifyAction
Definition: task.h:123
void(* TimerCallbackFunction_t)(TimerHandle_t xTimer)
Definition: timers.h:123
BaseType_t MPU_xTaskCreateRestricted(const TaskParameters_t *const pxTaskDefinition, TaskHandle_t *pxCreatedTask)
BaseType_t MPU_xTimerIsTimerActive(TimerHandle_t xTimer)
BaseType_t MPU_xTimerCreateTimerTask(void)
eTaskState
Definition: task.h:112
BaseType_t MPU_xQueueRemoveFromSet(QueueSetMemberHandle_t xQueueOrSemaphore, QueueSetHandle_t xQueueSet)
void MPU_vQueueUnregisterQueue(QueueHandle_t xQueue)
TaskHandle_t MPU_xTaskGetCurrentTaskHandle(void)
BaseType_t MPU_xTaskCheckForTimeOut(TimeOut_t *const pxTimeOut, TickType_t *const pxTicksToWait)
UBaseType_t MPU_uxEventGroupGetNumber(void *xEventGroup)
BaseType_t MPU_xTaskAbortDelay(TaskHandle_t xTask)
EventGroupHandle_t MPU_xEventGroupCreate(void)
void MPU_vTaskAllocateMPURegions(TaskHandle_t xTask, const MemoryRegion_t *const pxRegions)
void MPU_vEventGroupDelete(EventGroupHandle_t xEventGroup)
void MPU_vTaskPrioritySet(TaskHandle_t xTask, UBaseType_t uxNewPriority)
void MPU_vTaskMissedYield(void)
TaskHandle_t MPU_xTaskGetHandle(const char *pcNameToQuery)
void * TimerHandle_t
Definition: timers.h:118
BaseType_t MPU_xTaskCallApplicationTaskHook(TaskHandle_t xTask, void *pvParameter)
void MPU_vTaskSetTimeOutState(TimeOut_t *const pxTimeOut)
void * QueueSetHandle_t
Definition: queue.h:95
UBaseType_t MPU_uxQueueSpacesAvailable(const QueueHandle_t xQueue)
BaseType_t MPU_xTaskNotifyStateClear(TaskHandle_t xTask)
TickType_t EventBits_t
Definition: event_groups.h:133
void * MPU_pvTaskGetThreadLocalStoragePointer(TaskHandle_t xTaskToQuery, BaseType_t xIndex)
TaskHandle_t MPU_xTimerGetTimerDaemonTaskHandle(void)
BaseType_t MPU_xQueueGenericReceive(QueueHandle_t xQueue, void *const pvBuffer, TickType_t xTicksToWait, const BaseType_t xJustPeek)
EventBits_t MPU_xEventGroupSetBits(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet)
BaseType_t MPU_xQueueTakeMutexRecursive(QueueHandle_t xMutex, TickType_t xTicksToWait)
void * EventGroupHandle_t
Definition: event_groups.h:123
void MPU_vQueueSetQueueNumber(QueueHandle_t xQueue, UBaseType_t uxQueueNumber)
Definition: FreeRTOS.h:968
uint32_t TickType_t
Definition: portmacro.h:105
void * MPU_xQueueGetMutexHolder(QueueHandle_t xSemaphore)
const char * MPU_pcQueueGetName(QueueHandle_t xQueue)
void MPU_vTaskList(char *pcWriteBuffer)
void * TaskHandle_t
Definition: task.h:103
EventBits_t MPU_xEventGroupSync(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
void MPU_vTaskSuspendAll(void)
uint32_t MPU_ulTaskNotifyTake(BaseType_t xClearCountOnExit, TickType_t xTicksToWait)
BaseType_t MPU_xTaskNotifyWait(uint32_t ulBitsToClearOnEntry, uint32_t ulBitsToClearOnExit, uint32_t *pulNotificationValue, TickType_t xTicksToWait)
BaseType_t MPU_xTaskGenericNotify(TaskHandle_t xTaskToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t *pulPreviousNotificationValue)
void MPU_vQueueDelete(QueueHandle_t xQueue)
void MPU_vQueueAddToRegistry(QueueHandle_t xQueue, const char *pcName)
unsigned long UBaseType_t
Definition: portmacro.h:99
QueueHandle_t MPU_xQueueGenericCreate(const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, const uint8_t ucQueueType)
void MPU_vTaskResume(TaskHandle_t xTaskToResume)
Definition: FreeRTOS.h:1041
BaseType_t MPU_xTimerPendFunctionCall(PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, TickType_t xTicksToWait)
TickType_t MPU_xTimerGetExpiryTime(TimerHandle_t xTimer)
void * QueueSetMemberHandle_t
Definition: queue.h:102
TickType_t MPU_xTaskGetTickCount(void)
void MPU_vTaskDelete(TaskHandle_t xTaskToDelete)
UBaseType_t MPU_uxTaskGetNumberOfTasks(void)
portSTACK_TYPE StackType_t
Definition: portmacro.h:97
Definition: FreeRTOS.h:1012
BaseType_t MPU_xTaskResumeAll(void)
Definition: FreeRTOS.h:910
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)
EventBits_t MPU_xEventGroupClearBits(EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear)
void(* TaskFunction_t)(void *)
Definition: projdefs.h:77
const uint8_t[]
Definition: 404_html.c:3
void * QueueHandle_t
Definition: queue.h:88
void MPU_vTaskGetInfo(TaskHandle_t xTask, TaskStatus_t *pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState)
BaseType_t MPU_xQueueAddToSet(QueueSetMemberHandle_t xQueueOrSemaphore, QueueSetHandle_t xQueueSet)
TaskHandle_t MPU_xTaskGetIdleTaskHandle(void)
BaseType_t MPU_xQueueGiveMutexRecursive(QueueHandle_t pxMutex)
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)
long BaseType_t
Definition: portmacro.h:98
UBaseType_t MPU_uxQueueMessagesWaiting(const QueueHandle_t xQueue)
BaseType_t MPU_xQueueGenericReset(QueueHandle_t xQueue, BaseType_t xNewQueue)
BaseType_t MPU_xTaskGetSchedulerState(void)
BaseType_t MPU_xQueueGenericSend(QueueHandle_t xQueue, const void *const pvItemToQueue, TickType_t xTicksToWait, const BaseType_t xCopyPosition)
void MPU_vTaskSetApplicationTaskTag(TaskHandle_t xTask, TaskHookFunction_t pxHookFunction)
UBaseType_t MPU_uxQueueGetQueueNumber(QueueHandle_t xQueue)
const char * MPU_pcTimerGetName(TimerHandle_t xTimer)
QueueHandle_t MPU_xQueueCreateMutexStatic(const uint8_t ucQueueType, StaticQueue_t *pxStaticQueue)
void MPU_vTaskGetRunTimeStats(char *pcWriteBuffer)
UBaseType_t MPU_uxTaskGetSystemState(TaskStatus_t *const pxTaskStatusArray, const UBaseType_t uxArraySize, uint32_t *const pulTotalRunTime)
void MPU_vTaskSetThreadLocalStoragePointer(TaskHandle_t xTaskToSet, BaseType_t xIndex, void *pvValue)
void MPU_vTaskDelayUntil(TickType_t *const pxPreviousWakeTime, const TickType_t xTimeIncrement)
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)
UBaseType_t MPU_uxTaskGetStackHighWaterMark(TaskHandle_t xTask)
QueueHandle_t MPU_xQueueCreateCountingSemaphoreStatic(const UBaseType_t uxMaxCount, const UBaseType_t uxInitialCount, StaticQueue_t *pxStaticQueue)
void(* PendedFunction_t)(void *, uint32_t)
Definition: timers.h:129
QueueSetHandle_t MPU_xQueueCreateSet(const UBaseType_t uxEventQueueLength)
eTaskState MPU_eTaskGetState(TaskHandle_t xTask)
TimerHandle_t MPU_xTimerCreate(const char *const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void *const pvTimerID, TimerCallbackFunction_t pxCallbackFunction)
void MPU_vTaskSuspend(TaskHandle_t xTaskToSuspend)
UBaseType_t MPU_uxTaskPriorityGet(TaskHandle_t xTask)
TaskHookFunction_t MPU_xTaskGetApplicationTaskTag(TaskHandle_t xTask)
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_xTimerGenericCommand(TimerHandle_t xTimer, const BaseType_t xCommandID, const TickType_t xOptionalValue, BaseType_t *const pxHigherPriorityTaskWoken, const TickType_t xTicksToWait)
QueueHandle_t MPU_xQueueGenericCreateStatic(const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, uint8_t *pucQueueStorage, StaticQueue_t *pxStaticQueue, const uint8_t ucQueueType)
EventGroupHandle_t MPU_xEventGroupCreateStatic(StaticEventGroup_t *pxEventGroupBuffer)
void MPU_vTaskStartScheduler(void)
TickType_t MPU_xTimerGetPeriod(TimerHandle_t xTimer)
BaseType_t MPU_xTaskIncrementTick(void)