soft_uart_conf_t Struct Reference

Software UART port descriptor. More...

Detailed Description

Software UART port descriptor.

Definition at line 53 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.
 

Field Documentation

◆ timer_freq

uint32_t soft_uart_conf_t::timer_freq

Operating frequency of the timer.

Should be a multiple of baudrate

Definition at line 58 of file soft_uart.h.


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