|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Comprehensive test suite for Tle92466edHandler. More...
#include "TestFramework.h"#include "esp32_bus_setup.hpp"#include "esp32_test_config.hpp"#include "handlers/tle92466ed/Tle92466edHandler.h"#include <memory>#include "esp_log.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"Functions | |
| static bool | create_handler () noexcept |
| static bool | test_construction () noexcept |
| static bool | test_initialize () noexcept |
| static bool | test_is_initialized () noexcept |
| static bool | test_enable_channel () noexcept |
| static bool | test_disable_channel () noexcept |
| static bool | test_enable_all_channels () noexcept |
| static bool | test_disable_all_channels () noexcept |
| static bool | test_set_channel_current () noexcept |
| static bool | test_configure_pwm_raw () noexcept |
| static bool | test_channel_range_guard () noexcept |
| static bool | test_get_status () noexcept |
| static bool | test_get_channel_diagnostics () noexcept |
| static bool | test_get_fault_report () noexcept |
| static bool | test_has_fault () noexcept |
| static bool | test_clear_faults () noexcept |
| static bool | test_kick_watchdog () noexcept |
| static bool | test_enter_mission_mode () noexcept |
| static bool | test_get_chip_id () noexcept |
| static bool | test_get_driver_access () noexcept |
| static bool | test_dump_diagnostics () noexcept |
| static bool | test_operations_before_init () noexcept |
| static bool | test_deinitialize () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "TLE92466ED_Handler_Test" |
| static TestResults | g_test_results |
| static constexpr bool | ENABLE_CONSTRUCTION_TESTS = true |
| static constexpr bool | ENABLE_INITIALIZATION_TESTS = true |
| static constexpr bool | ENABLE_CHANNEL_CONTROL_TESTS = true |
| static constexpr bool | ENABLE_STATUS_TESTS = true |
| static constexpr bool | ENABLE_WATCHDOG_TESTS = true |
| static constexpr bool | ENABLE_DEVICE_INFO_TESTS = true |
| static constexpr bool | ENABLE_DIAGNOSTICS_TESTS = true |
| static constexpr bool | ENABLE_ERROR_HANDLING_TESTS = true |
| static std::unique_ptr< EspGpio > | g_resn_gpio |
| static std::unique_ptr< EspGpio > | g_en_gpio |
| static std::unique_ptr< EspGpio > | g_faultn_gpio |
| static BaseSpi * | g_spi_device = nullptr |
| static std::unique_ptr< Tle92466edHandler > | g_handler |
| static bool | g_hw_present = false |
Comprehensive test suite for Tle92466edHandler.
Tests: CRTP SPI adapter, initialization (default + GlobalConfig), 6-channel enable/disable/current/PWM, channel diagnostics, fault report/clear, watchdog kick/disable, device ID readback, GetDriver() direct access, diagnostics dump, and pre-init error handling.
| void app_main | ( | void | ) |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |