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. More... | |
| uint8_t | flags |
| Soft UART flags. | |
| 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.