SmartSnippets DA1459x SDK
task_monitoring.h
Go to the documentation of this file.
1 
41 #ifndef TASK_MONITORING_H
42 #define TASK_MONITORING_H
43 
44 #if (dg_configENABLE_TASK_MONITORING == 1)
45 /*Maximum number of monitored tasks*/
46 #define MAX_NUMBER_OF_MONITORED_TASKS 5
47 
54 void tm_register_monitor_task(uint16_t id);
55 
62 void tm_unregister_monitor_task(uint16_t id);
63 
68 void tm_print_registered_tasks(void);
69 
74 void tm_print_tasks_status(void);
75 
76 #endif /*dg_configENABLE_TASK_MONITORING*/
77 
78 #endif /*TASK_MONITORING_H*/
79 
tm_print_tasks_status
void tm_print_tasks_status(void)
Print the status of a all the tasks.
tm_print_registered_tasks
void tm_print_registered_tasks(void)
Print the status of registered a tasks.
tm_register_monitor_task
void tm_register_monitor_task(uint16_t id)
Register a task to be monitored.
tm_unregister_monitor_task
void tm_unregister_monitor_task(uint16_t id)
Unregister a task from the monitoring function.