ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
#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... | |
Configuration for initializing UART
Definition at line 36 of file ruuvi_interface_uart.h.
Baud rate, see ruuvi_interface_uart_baud_t.
Definition at line 42 of file ruuvi_interface_uart.h.
ruuvi_interface_gpio_id_t cts |
pin number of CTS.
Definition at line 40 of file ruuvi_interface_uart.h.
bool hwfc |
True -> Hardware flow control enabled. False -> disabled.
Definition at line 44 of file ruuvi_interface_uart.h.
bool parity |
True -> parity bit enabled. False -> disabled.
Definition at line 43 of file ruuvi_interface_uart.h.
ruuvi_interface_gpio_id_t rts |
pin number of RTS.
Definition at line 41 of file ruuvi_interface_uart.h.
ruuvi_interface_gpio_id_t rx |
pin number of RX.
Definition at line 39 of file ruuvi_interface_uart.h.
ruuvi_interface_gpio_id_t tx |
pin number of TX.
Definition at line 38 of file ruuvi_interface_uart.h.