cfg_uart_default.h File Reference

Common default UART configuration for the RE-Mote board revision A. More...

Detailed Description

Common default UART configuration for the RE-Mote board revision A.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Antonio Lignan alina.nosp@m.n@zo.nosp@m.lerti.nosp@m.a.co.nosp@m.m
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

Definition in file cfg_uart_default.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_uart_default.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

UART configuration

#define UART_0_ISR   isr_uart0
 
#define UART_1_ISR   isr_uart1
 
#define UART_NUMOF   ARRAY_SIZE(uart_config)
 
static const uart_conf_t uart_config []
 

Variable Documentation

◆ uart_config

const uart_conf_t uart_config[]
static
Initial value:
= {
{
.rx_pin = GPIO_PIN(PORT_A, 0),
.tx_pin = GPIO_PIN(PORT_A, 1),
},
{
.rx_pin = GPIO_PIN(PORT_C, 1),
.tx_pin = GPIO_PIN(PORT_C, 0),
}
}

Definition at line 35 of file cfg_uart_default.h.

PORT_C
@ PORT_C
port C
Definition: periph_cpu.h:38
PORT_A
@ PORT_A
port A
Definition: periph_cpu.h:36
UART0_BASEADDR
#define UART0_BASEADDR
UART0 Instance.
Definition: cc2538_uart.h:183
UART1_BASEADDR
#define UART1_BASEADDR
UART1 Instance.
Definition: cc2538_uart.h:184
GPIO_PIN
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35