|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
UART peripheral handle. More...
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 27 of file handle.hpp.
#include <handle.hpp>
Public Attributes | |
| uint32_t | peripheral |
| uint32_t | tx_port |
| uint32_t | tx_pin |
| uint32_t | tx_af |
| uint32_t | rx_port |
| uint32_t | rx_pin |
| uint32_t | rx_af |
| uint32_t | baud |
| uint32_t sbl::UartHandle::peripheral |
UART peripheral number (e.g., 1 for USART1)
Definition at line 28 of file handle.hpp.
| uint32_t sbl::UartHandle::tx_port |
TX GPIO port number
Definition at line 29 of file handle.hpp.
| uint32_t sbl::UartHandle::tx_pin |
TX GPIO pin number
Definition at line 30 of file handle.hpp.
| uint32_t sbl::UartHandle::tx_af |
TX alternate function (STM32), 0 for simpler MCUs
Definition at line 31 of file handle.hpp.
| uint32_t sbl::UartHandle::rx_port |
RX GPIO port number
Definition at line 32 of file handle.hpp.
| uint32_t sbl::UartHandle::rx_pin |
RX GPIO pin number
Definition at line 33 of file handle.hpp.
| uint32_t sbl::UartHandle::rx_af |
RX alternate function (STM32), 0 for simpler MCUs
Definition at line 34 of file handle.hpp.
| uint32_t sbl::UartHandle::baud |
Default baud rate
Definition at line 35 of file handle.hpp.