|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Comprehensive Temperature sensor testing suite for ESP32-C6 DevKit-M-1 (noexcept) More...
#include "TestFramework.h"#include "base/BaseTemperature.h"#include "mcu/esp32/EspTemperature.h"#include <atomic>Functions | |
| void | threshold_callback (BaseTemperature *sensor, float temperature, hf_u32_t threshold_type, void *user_data) |
| void | monitoring_callback (BaseTemperature *sensor, const hf_temp_reading_t *reading, void *user_data) |
| void | esp_threshold_callback (EspTemperature *sensor, float temperature, bool is_high_threshold) |
| void | esp_monitoring_callback (EspTemperature *sensor, float temperature, hf_u64_t timestamp_us) |
| bool | test_temperature_sensor_initialization () noexcept |
| bool | test_temperature_reading () noexcept |
| bool | test_sensor_info () noexcept |
| bool | test_range_management () noexcept |
| bool | test_threshold_monitoring () noexcept |
| bool | test_continuous_monitoring () noexcept |
| bool | test_calibration () noexcept |
| bool | test_power_management () noexcept |
| bool | test_self_test_and_health () noexcept |
| bool | test_statistics_and_diagnostics () noexcept |
| bool | test_esp32_specific_features () noexcept |
| bool | test_error_handling () noexcept |
| bool | test_performance_and_stress () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "TEMP_Test" |
| static TestResults | g_test_results |
| static std::atomic< int > | g_threshold_callback_count {0} |
| static std::atomic< int > | g_monitoring_callback_count {0} |
| static std::atomic< float > | g_last_callback_temperature {0.0f} |
| static constexpr bool | ENABLE_CORE_TESTS = true |
| static constexpr bool | ENABLE_ADVANCED_TESTS |
| static constexpr bool | ENABLE_FEATURE_TESTS |
| static constexpr bool | ENABLE_DIAGNOSTIC_TESTS |
| static constexpr bool | ENABLE_STRESS_TESTS = true |
Comprehensive Temperature sensor testing suite for ESP32-C6 DevKit-M-1 (noexcept)
| void app_main | ( | void | ) |
| void esp_monitoring_callback | ( | EspTemperature * | sensor, |
| float | temperature, | ||
| hf_u64_t | timestamp_us ) |
| void esp_threshold_callback | ( | EspTemperature * | sensor, |
| float | temperature, | ||
| bool | is_high_threshold ) |
| void monitoring_callback | ( | BaseTemperature * | sensor, |
| const hf_temp_reading_t * | reading, | ||
| void * | user_data ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| void threshold_callback | ( | BaseTemperature * | sensor, |
| float | temperature, | ||
| hf_u32_t | threshold_type, | ||
| void * | user_data ) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |
|
static |
|
static |
|
static |