![]() |
Synergy Software Package User's Manual
|
#include <sf_thread_monitor.h>
Public Member Functions | |
| uint8_t stack [THREAD_MONITOR_THREAD_STACK_SIZE] | BSP_ALIGN_VARIABLE_V2 (BSP_STACK_ALIGNMENT) |
Data Fields | |
| uint32_t | open |
| wdt_instance_t const * | p_lower_lvl_wdt |
| uint32_t | timeout_period_msec |
| uint32_t | timeout_period_watchdog_clocks |
| bool | profiling_mode_enabled |
| TX_MUTEX | mutex |
| Mutex to protect access to the thread counters. | |
| uint32_t | profiling_mode_check |
| sf_thread_monitor_thread_counter_t | thread_counters [THREAD_MONITOR_CFG_MAX_NUMBER_OF_THREADS] |
| TX_THREAD | thread |
| Thread monitor thread. | |
| void const * | p_extend |
| Extended configuration data. | |
Thread monitor control block. DO NOT INITIALIZE. Initialization occurs when sf_thread_monitor_api_t::open is called.
| uint8_t stack [THREAD_MONITOR_THREAD_STACK_SIZE] sf_thread_monitor_instance_ctrl_t::BSP_ALIGN_VARIABLE_V2 | ( | BSP_STACK_ALIGNMENT | ) |
Stack for thread monitor thread.
| uint32_t sf_thread_monitor_instance_ctrl_t::open |
Used by driver to check if the control structure is valid
| wdt_instance_t const* sf_thread_monitor_instance_ctrl_t::p_lower_lvl_wdt |
Pointer to interface structure for the watchdog peripheral
| uint32_t sf_thread_monitor_instance_ctrl_t::profiling_mode_check |
Value used to verify profiling mode is enabled when prfiling_mode_enabled == true.
| bool sf_thread_monitor_instance_ctrl_t::profiling_mode_enabled |
Used by the driver to check if profiling mode is enabled.
| sf_thread_monitor_thread_counter_t sf_thread_monitor_instance_ctrl_t::thread_counters[THREAD_MONITOR_CFG_MAX_NUMBER_OF_THREADS] |
Data storage for the thread counter information.
| uint32_t sf_thread_monitor_instance_ctrl_t::timeout_period_msec |
Time in milliseconds of the watchdog timeout period. Used to calculate the period of the monitoring thread.
| uint32_t sf_thread_monitor_instance_ctrl_t::timeout_period_watchdog_clocks |
Maximum count value of the watchdog. Used to synchronise to the count.