FreeRTOS-Kernel/include
Nicola Fontana e1eb15a20d New API xTaskPeriodicDelay (#1349)
New function to be used for periodic tasks to ensure a constant
execution frequency. It is intended to supersede xTaskDelayUntil to
overcome its shortcomings, that is:

- avoid run away of pxPreviousWakeTime (#1339)
- catch up any skipped period immediately (and update pxPreviousWakeTime
  accordingly), notify the caller of the number of periods skipped (by
  returning them) and wait until the next period (it could be less than
  xTimeIncrement if we are close to the next period)
- notify the caller when not enough ticks have been elapsed (by
  returning 0) and handle the situation gracefully (by properly waiting
  until the next wake time)

Signed-off-by: Nicola Fontana <ntd@entidi.it>
2026-02-18 08:51:47 +01:00
..
atomic.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
CMakeLists.txt Fix circular dependency in CMake project (#700) 2023-07-10 15:08:59 -07:00
croutine.h MPLAB PIC32MZ-EF - Adds an assert to catch register overflow (#1265) (#1267) 2025-04-25 17:05:15 +05:30
deprecated_definitions.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
event_groups.h event-groups: Fix multiple definitions (#1307) 2025-08-14 10:40:59 -07:00
FreeRTOS.h New API xTaskPeriodicDelay (#1349) 2026-02-18 08:51:47 +01:00
list.h Fix compiler warning (#1291) 2025-07-09 11:16:00 +05:30
message_buffer.h Update stream and message buffer documentation (#1226) 2025-01-21 15:17:10 +05:30
mpu_prototypes.h event-groups: Fix multiple definitions (#1307) 2025-08-14 10:40:59 -07:00
mpu_syscall_numbers.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
mpu_wrappers.h Add xQueueCreateSetStatic method for static allocation of Queue Sets (#1228) 2025-01-22 14:53:35 +05:30
newlib-freertos.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
picolibc-freertos.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
portable.h Disable stack overflow check for MPU ports (#1231) 2025-02-24 21:54:15 +05:30
projdefs.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
queue.h Refine comments related to taskYIELD in queue.h (#1333) 2025-11-12 13:51:08 +05:30
semphr.h Fix datatype of queue item length macros (#1286) 2025-06-30 18:11:30 +05:30
stack_macros.h Revert "FreeRTOS SMP: direct access to current TCB inside stack macros (#1270)" (#1272) 2025-05-05 15:45:15 +05:30
StackMacros.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
stdint.readme Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
stream_buffer.h Update stream and message buffer documentation (#1226) 2025-01-21 15:17:10 +05:30
task.h New API xTaskPeriodicDelay (#1349) 2026-02-18 08:51:47 +01:00
timers.h Update comment in the example for declaration of xTimerReset (#1133) 2024-09-02 21:16:23 +05:30