periph_conf.h File Reference

Board periph definitions for the Raspberry Pi Pico 2. More...

Detailed Description

Board periph definitions for the Raspberry Pi Pico 2.

Author
Tom Hert git@a.nosp@m.nnsa.nosp@m.nn.eu

Definition in file periph_conf.h.

#include <stdint.h>
#include "RP2350.h"
#include "periph_cpu.h"
+ Include dependency graph for periph_conf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  uart_conf_t
 UART device configuration. More...
 
#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:
= {
{
.dev = UART0,
.rx_pin = GPIO_PIN(0, 1),
.tx_pin = GPIO_PIN(0, 0),
.irqn = UART0_IRQ_IRQn
},
{
.dev = UART1,
.rx_pin = GPIO_PIN(0, 9),
.tx_pin = GPIO_PIN(0, 8),
.irqn = UART1_IRQ_IRQn
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:42
#define UART0
UART0 register bank.
#define UART1
UART1 register bank.

Definition at line 38 of file periph_conf.h.