Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

xTimerCreate: is a NULL callback function pointer valid?

Posted by straubm2610 on August 22, 2017

Hi, new to the forum. Can the timer callback function pointer in xTimerCreate be NULL?. I simply want to check if a timer is running, no further actions required.


xTimerCreate: is a NULL callback function pointer valid?

Posted by rtel on August 22, 2017

No, the callback cannot be NULL.

(The easiest thing to do is look into the source files, which is what I just did. It only took a few seconds to look at the xTimerCreate() function to get the answer).


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS