|
Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
UART peripheral handle. More...
#include <handle.hpp>
Public Attributes | |
| uint32_t | peripheral |
| UART peripheral number (e.g., 1 for USART1) | |
| uint32_t | tx_port |
| TX GPIO port number. | |
| uint32_t | tx_pin |
| TX GPIO pin number. | |
| uint32_t | tx_af |
| TX alternate function (STM32), 0 for simpler MCUs. | |
| uint32_t | rx_port |
| RX GPIO port number. | |
| uint32_t | rx_pin |
| RX GPIO pin number. | |
| uint32_t | rx_af |
| RX alternate function (STM32), 0 for simpler MCUs. | |
| uint32_t | baud |
| Default baud rate. | |
UART peripheral handle.
Represents a UART configuration as resolved from hardware manifests. Includes peripheral number, pin mappings, and default baud rate.
Examples:
Definition at line 28 of file handle.hpp.
| uint32_t sbl::UartHandle::baud |
Default baud rate.
Definition at line 36 of file handle.hpp.
| uint32_t sbl::UartHandle::peripheral |
UART peripheral number (e.g., 1 for USART1)
Definition at line 29 of file handle.hpp.
| uint32_t sbl::UartHandle::rx_af |
RX alternate function (STM32), 0 for simpler MCUs.
Definition at line 35 of file handle.hpp.
| uint32_t sbl::UartHandle::rx_pin |
RX GPIO pin number.
Definition at line 34 of file handle.hpp.
| uint32_t sbl::UartHandle::rx_port |
RX GPIO port number.
Definition at line 33 of file handle.hpp.
| uint32_t sbl::UartHandle::tx_af |
TX alternate function (STM32), 0 for simpler MCUs.
Definition at line 32 of file handle.hpp.
| uint32_t sbl::UartHandle::tx_pin |
TX GPIO pin number.
Definition at line 31 of file handle.hpp.
| uint32_t sbl::UartHandle::tx_port |
TX GPIO port number.
Definition at line 30 of file handle.hpp.