soft_uart_params.h File Reference

Software UART configuration. More...

Detailed Description

Software UART configuration.

Author
Benjamin Valentin benjj.nosp@m.amin.nosp@m..vale.nosp@m.ntin.nosp@m.@ml-p.nosp@m.a.co.nosp@m.m

Definition in file soft_uart_params.h.

#include "soft_uart.h"
#include "macros/units.h"
#include "kernel_defines.h"
+ Include dependency graph for soft_uart_params.h:

Go to the source code of this file.

#define SOFT_UART_PARAM_RX   GPIO_UNDEF
 
#define SOFT_UART_PARAM_TX   GPIO_UNDEF
 
#define SOFT_UART_PARAM_TIMER_RX   (0)
 
#define SOFT_UART_PARAM_TIMER_TX   (1)
 
#define SOFT_UART_PARAM_FREQ   MHZ(1)
 
#define SOFT_UART_PARAM_FLAGS   (0)
 
#define SOFT_UART_PARAMS
 
#define SOFT_UART_NUMOF   ARRAY_SIZE(soft_uart_config)
 
static const soft_uart_conf_t soft_uart_config []
 Sotware UART port descriptor array. More...
 

Macro Definition Documentation

◆ SOFT_UART_PARAMS

#define SOFT_UART_PARAMS
Value:
{ .rx_pin = SOFT_UART_PARAM_RX, \
.tx_pin = SOFT_UART_PARAM_TX, \
.rx_timer = SOFT_UART_PARAM_TIMER_RX, \
.tx_timer = SOFT_UART_PARAM_TIMER_TX, \
.timer_freq = SOFT_UART_PARAM_FREQ, \
.flags = SOFT_UART_PARAM_FLAGS, \
}

Definition at line 50 of file soft_uart_params.h.

Variable Documentation

◆ soft_uart_config

const soft_uart_conf_t soft_uart_config[]
static
Initial value:
= {
SOFT_UART_PARAMS,
}

Sotware UART port descriptor array.

Definition at line 62 of file soft_uart_params.h.