Loading...
Searching...
No Matches
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.
 
uint8_t flags
 Soft UART flags.
 

Field Documentation

◆ flags

uint8_t soft_uart_conf_t::flags

Soft UART flags.

Definition at line 60 of file soft_uart.h.

◆ rx_pin

gpio_t soft_uart_conf_t::rx_pin

RX pin.

Definition at line 54 of file soft_uart.h.

◆ rx_timer

tim_t soft_uart_conf_t::rx_timer

Hardware timer used for RX.

Definition at line 56 of file soft_uart.h.

◆ 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.

◆ tx_pin

gpio_t soft_uart_conf_t::tx_pin

TX pin.

Definition at line 55 of file soft_uart.h.

◆ tx_timer

tim_t soft_uart_conf_t::tx_timer

Hardware timer used for TX.

Definition at line 57 of file soft_uart.h.


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