watchdog-timer-checkpoint-freertos  2.1.0
watchdog-timer-checkpoint-freertos
watchdog_timer_freertos.h
Go to the documentation of this file.
1 /*
2  * C
3  *
4  * Copyright 2021-2022 MicroEJ Corp. All rights reserved.
5  * Use of this source code is governed by a BSD-style license that can be found with this software.
6  */
7 
8 #ifndef WATCHDOG_TIMER_FREERTOS_H
9 #define WATCHDOG_TIMER_FREERTOS_H
10 
19 /* Includes ------------------------------------------------------------------*/
20 #include <stdint.h>
21 
22 #ifdef __cplusplus
23  extern "C" {
24 #endif
25 
26 
27 /* Macros and Defines --------------------------------------------------------*/
28 
30 #define CHECKPOINT_FREERTOS_OK 0
31 #define CHECKPOINT_FREERTOS_ERROR -1
33 /* Globals -------------------------------------------------------------------*/
34 
35 
36 
37 /* Project functions----------------------------------------------------------*/
38 
53 
54 
68 
77 
78 #ifdef __cplusplus
79  }
80 #endif
81 
82 #endif /* WATCHDOG_TIMER_FREERTOS_H */
int32_t watchdog_timer_freertos_scheduler_checkpoint_start(void)
Starts the FreeRTOS scheduler checkpoint.
int32_t watchdog_timer_freertos_scheduler_checkpoint_stop(void)
Stops the FreeRTOS scheduler checkpoint.
void watchdog_timer_freertos_print_tasks_state(void)
Prints the current FreeRTOS tasks state.