daisy::UartHandler::Config¶
#include <uart.h>
Public Types¶
Name | |
---|---|
enum class | Peripheral |
enum class | StopBits |
enum class | Parity |
enum class | Mode |
enum class | WordLength |
Public Functions¶
Name | |
---|---|
Config() |
Public Attributes¶
Name | |
---|---|
dsy_gpio_pin | tx |
dsy_gpio_pin | rx |
struct daisy::UartHandler::Config::@18 | pin_config |
Peripheral | periph |
StopBits | stopbits |
Parity | parity |
Mode | mode |
WordLength | wordlength |
uint32_t | baudrate |
Public Types Documentation¶
enum Peripheral¶
Enumerator | Value | Description |
---|---|---|
USART_1 | ||
USART_2 | ||
USART_3 | ||
UART_4 | ||
UART_5 | ||
USART_6 | ||
UART_7 | ||
UART_8 | ||
LPUART_1 |
enum StopBits¶
Enumerator | Value | Description |
---|---|---|
BITS_0_5 | ||
BITS_1 | ||
BITS_1_5 | ||
BITS_2 |
enum Parity¶
Enumerator | Value | Description |
---|---|---|
NONE | ||
EVEN | ||
ODD |
enum Mode¶
Enumerator | Value | Description |
---|---|---|
RX | ||
TX | ||
TX_RX |
enum WordLength¶
Enumerator | Value | Description |
---|---|---|
BITS_7 | ||
BITS_8 | ||
BITS_9 |
Public Functions Documentation¶
function Config¶
Public Attributes Documentation¶
variable tx¶
&
variable rx¶
&
variable pin_config¶
&
variable periph¶
variable stopbits¶
variable parity¶
variable mode¶
variable wordlength¶
variable baudrate¶
Updated on 2024-01-03 at 19:41:01 +0000