ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ri_uart_init_t Struct Reference

UART initialization data. More...

#include <ruuvi_interface_communication_uart.h>

Data Fields

bool hwfc_enabled
 True to enable hardware flow control. More...
 
bool parity_enabled
 True to enable parity. More...
 
ri_gpio_id_t cts
 CTS pin. Can be RI_GPIO_UNUSED if not using HWFC. More...
 
ri_gpio_id_t rts
 RTS pin. Can be RI_GPIO_UNUSED if not using HWFC. More...
 
ri_gpio_id_t tx
 TX pin. More...
 
ri_gpio_id_t rx
 RX pin. More...
 
ri_uart_baudrate_t baud
 ri_uart_baudrate_t. More...
 

Detailed Description

UART initialization data.

Definition at line 33 of file ruuvi_interface_communication_uart.h.

Field Documentation

◆ baud

◆ cts

CTS pin. Can be RI_GPIO_UNUSED if not using HWFC.

Definition at line 37 of file ruuvi_interface_communication_uart.h.

◆ hwfc_enabled

bool hwfc_enabled

True to enable hardware flow control.

Definition at line 35 of file ruuvi_interface_communication_uart.h.

◆ parity_enabled

bool parity_enabled

True to enable parity.

Definition at line 36 of file ruuvi_interface_communication_uart.h.

◆ rts

RTS pin. Can be RI_GPIO_UNUSED if not using HWFC.

Definition at line 38 of file ruuvi_interface_communication_uart.h.

◆ rx

RX pin.

Definition at line 40 of file ruuvi_interface_communication_uart.h.

◆ tx

TX pin.

Definition at line 39 of file ruuvi_interface_communication_uart.h.


The documentation for this struct was generated from the following file: