Loading...
Searching...
No Matches
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:

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 []
 

Macro Definition Documentation

◆ UART_0_ISR

#define UART_0_ISR   isr_uart0

Definition at line 58 of file cfg_uart_default.h.

◆ UART_1_ISR

#define UART_1_ISR   isr_uart1

Definition at line 59 of file cfg_uart_default.h.

◆ UART_NUMOF

#define UART_NUMOF   ARRAY_SIZE(uart_config)

Definition at line 62 of file cfg_uart_default.h.

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),
}
}
@ PORT_C
port C
Definition periph_cpu.h:49
@ PORT_A
port A
Definition periph_cpu.h:47
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition periph_cpu.h:46
#define UART1_BASEADDR
UART1 Instance.
#define UART0_BASEADDR
UART0 Instance.

Definition at line 35 of file cfg_uart_default.h.