|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Comprehensive GPIO testing suite for ESP32-C6 DevKit-M-1 (noexcept) More...
#include "utils/AsciiArtGenerator.h"#include "utils/memory_utils.h"#include "base/BaseGpio.h"#include "mcu/esp32/EspGpio.h"#include "mcu/esp32/utils/EspTypes_GPIO.h"#include <memory>#include <vector>#include "TestFramework.h"Namespaces | |
| namespace | TestPins |
Functions | |
| bool | test_basic_gpio_functionality () noexcept |
| Test basic GPIO functionality including initialization and basic operations. | |
| bool | test_gpio_initialization_and_configuration () noexcept |
| Test GPIO initialization and configuration modes. | |
| bool | test_gpio_input_output_operations () noexcept |
| Test GPIO input/output operations and state management. | |
| bool | test_gpio_pull_resistors () noexcept |
| Test GPIO pull resistor functionality. | |
| bool | test_gpio_interrupt_functionality () noexcept |
| Test GPIO interrupt functionality. | |
| bool | test_gpio_interrupt_loopback () noexcept |
| bool | test_gpio_advanced_features () noexcept |
| Test advanced GPIO features (ESP32-C6 specific) | |
| bool | test_gpio_rtc_functionality () noexcept |
| Test RTC GPIO functionality for low-power operations. | |
| bool | test_gpio_glitch_filters () noexcept |
| Test other advanced GPIO functions - placeholders for comprehensive testing. | |
| bool | test_gpio_sleep_and_wakeup () noexcept |
| bool | test_gpio_hold_functionality () noexcept |
| bool | test_gpio_drive_capabilities () noexcept |
| bool | test_gpio_diagnostics_and_statistics () noexcept |
| bool | test_gpio_error_handling () noexcept |
| bool | test_gpio_stress_testing () noexcept |
| bool | test_gpio_pin_validation () noexcept |
| bool | test_gpio_loopback_operations () noexcept |
| bool | test_gpio_concurrent_operations () noexcept |
| bool | test_gpio_power_consumption () noexcept |
| static void IRAM_ATTR | gpio_isr_loopback_cb (BaseGpio *, hf_gpio_interrupt_trigger_t, void *) |
| void | app_main (void) |
| Main application entry point. | |
Comprehensive GPIO testing suite for ESP32-C6 DevKit-M-1 (noexcept)
This file contains a unified, comprehensive test suite for the EspGpio class targeting ESP32-C6 with ESP-IDF v5.5+. It provides thorough testing of all GPIO functionalities including basic operations, advanced features, interrupts, power management, and hardware-specific capabilities.
All functions are noexcept - no exception handling used.
| void app_main | ( | void | ) |
Main application entry point.
|
static |
|
noexcept |
Test basic GPIO functionality including initialization and basic operations.
|
noexcept |
Test advanced GPIO features (ESP32-C6 specific)
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Test other advanced GPIO functions - placeholders for comprehensive testing.
|
noexcept |
|
noexcept |
Test GPIO initialization and configuration modes.
|
noexcept |
Test GPIO input/output operations and state management.
|
noexcept |
Test GPIO interrupt functionality.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Test GPIO pull resistor functionality.
|
noexcept |
Test RTC GPIO functionality for low-power operations.
|
noexcept |
|
noexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |
Test ISR callback handling using loopback between output and input pins.
|
static |