Download FreeRTOS
 

Quality RTOS & Embedded Software

KERNEL
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

Software Timers
[API]

FreeRTOS Software Timer API Functions



xTimerGetTimerDaemonTaskHandle

timers.h
TaskHandle_t xTimerGetTimerDaemonTaskHandle( void );
		
Returns:
Returns the task handle associated with the software timer daemon (or service) task. If configUSE_TIMERS is set to 1 in FreeRTOSConfig.h, then the timer daemon task is created automatically when the RTOS scheduler is started.


pcTimerGetName

timers.h
const char * pcTimerGetName( TimerHandle_t xTimer )
		

Parameters:
Returns the human readable name assigned to a timer when the timer was created.
xTimer   The handle of the timer being queried.
Returns:
A pointer to the timer's name, which is a standard NULL terminated C string.

vTimerResetState

timers.h
void vTimerResetState( void );

This function resets the internal state of the timer module. It must be called by the application before restarting the scheduler.







Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.