STM32 RTC Scheduler
RTC-based scheduler for ultra-low power applications
freertos_tasks_c_additions.h File Reference

This file contains the additional code that needs to be inserted into the FreeRTOS tasks.c file. More...

Go to the source code of this file.

Functions

TickType_t GetExpectedIdleTime (void)
 Get the expected idle time from RTOS kernel. More...
 
UBaseType_t IsDelayedTaskListEmpty (void)
 Check whether the delayed task list of RTOS is empty. More...
 

Detailed Description

This file contains the additional code that needs to be inserted into the FreeRTOS tasks.c file.

STM32 RTC Scheduler

Author
Akos Pasztor
See also
Please refer to README for detailed information.

Definition in file freertos_tasks_c_additions.h.

Function Documentation

◆ GetExpectedIdleTime()

TickType_t GetExpectedIdleTime ( void  )

Get the expected idle time from RTOS kernel.

Returns
The expected idle time in RTOS ticks.

Definition at line 27 of file freertos_tasks_c_additions.h.

◆ IsDelayedTaskListEmpty()

UBaseType_t IsDelayedTaskListEmpty ( void  )

Check whether the delayed task list of RTOS is empty.

Return values
pdTRUEif the delayed task list is empty.
pdFALSEif there is a task waiting in the delayed task list.

Definition at line 90 of file freertos_tasks_c_additions.h.