static void prvAFunction( TimerHandle_t xTimer ) { TickType_t xRemainingTime; /* Calculate the time that remains before the timer referenced by xTimer expires. TickType_t is an unsigned type, so the subtraction will result in the correct answer even if the timer will not expire until after the tick count has overflowed. */ xRemainingTime = xTimerGetExpiryTime( xTimer ) - xTaskGetTickCount(); }
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|
Latest News
NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS. Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019 Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed. View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS. Careers
FreeRTOS and other embedded software careers at AWS. FreeRTOS Partners
|