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

#include <ruuvi_interface_uart.h>

Data Fields

ruuvi_interface_gpio_id_t tx
 pin number of TX. More...
 
ruuvi_interface_gpio_id_t rx
 pin number of RX. More...
 
ruuvi_interface_gpio_id_t cts
 pin number of CTS. More...
 
ruuvi_interface_gpio_id_t rts
 pin number of RTS. More...
 
ruuvi_interface_uart_baud_t baud
 Baud rate, see ruuvi_interface_uart_baud_t. More...
 
bool parity
 True -> parity bit enabled. False -> disabled. More...
 
bool hwfc
 True -> Hardware flow control enabled. False -> disabled. More...
 

Detailed Description

Configuration for initializing UART

Definition at line 36 of file ruuvi_interface_uart.h.

Field Documentation

◆ baud

Baud rate, see ruuvi_interface_uart_baud_t.

Definition at line 42 of file ruuvi_interface_uart.h.

◆ cts

ruuvi_interface_gpio_id_t cts

pin number of CTS.

Definition at line 40 of file ruuvi_interface_uart.h.

◆ hwfc

bool hwfc

True -> Hardware flow control enabled. False -> disabled.

Definition at line 44 of file ruuvi_interface_uart.h.

◆ parity

bool parity

True -> parity bit enabled. False -> disabled.

Definition at line 43 of file ruuvi_interface_uart.h.

◆ rts

ruuvi_interface_gpio_id_t rts

pin number of RTS.

Definition at line 41 of file ruuvi_interface_uart.h.

◆ rx

ruuvi_interface_gpio_id_t rx

pin number of RX.

Definition at line 39 of file ruuvi_interface_uart.h.

◆ tx

ruuvi_interface_gpio_id_t tx

pin number of TX.

Definition at line 38 of file ruuvi_interface_uart.h.


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