Software UART port descriptor. More...
Software UART port descriptor.
Definition at line 52 of file soft_uart.h.
#include <soft_uart.h>
Data Fields | |
| gpio_t | rx_pin | 
| RX pin.   | |
| gpio_t | tx_pin | 
| TX pin.   | |
| tim_t | rx_timer | 
| Hardware timer used for RX.   | |
| tim_t | tx_timer | 
| Hardware timer used for TX.   | |
| uint32_t | timer_freq | 
| Operating frequency of the timer.   | |
| uint8_t | flags | 
| Soft UART flags.   | |
| uint8_t soft_uart_conf_t::flags | 
Soft UART flags.
Definition at line 59 of file soft_uart.h.
| gpio_t soft_uart_conf_t::rx_pin | 
RX pin.
Definition at line 53 of file soft_uart.h.
| tim_t soft_uart_conf_t::rx_timer | 
Hardware timer used for RX.
Definition at line 55 of file soft_uart.h.
| uint32_t soft_uart_conf_t::timer_freq | 
Operating frequency of the timer.
Should be a multiple of baudrate
Definition at line 57 of file soft_uart.h.
| gpio_t soft_uart_conf_t::tx_pin | 
TX pin.
Definition at line 54 of file soft_uart.h.
| tim_t soft_uart_conf_t::tx_timer | 
Hardware timer used for TX.
Definition at line 56 of file soft_uart.h.