components/esp_hal_uart/README.md
[!NOTE] This component is currently in beta. Its API, behavior, and compatibility may change at any time and without notice; backward compatibility is not guaranteed. Use caution when integrating into production systems.
The esp_hal_uart component provides a Hardware Abstraction Layer for Universal Asynchronous Receiver/Transmitter (UART) peripherals across all ESP-IDF supported targets. It also includes support for UHCI (Universal Host Controller Interface) on chips where it is available and enabled.
The UART HAL is structured in two main sub-layers:
soc component, handling target-specific register configurations.CONFIG_SOC_UHCI_SUPPORTED is enabledThe HAL functions primarily serve ESP-IDF peripheral drivers such as esp_driver_uart.
Advanced developers can use these interfaces directly when implementing custom drivers, with the understanding that API stability is not guaranteed.
soc: Provides chip-specific register definitionshal: Core hardware abstraction utilities and macros