Configuration of CPU peripherals for the Raspberry Pi Pico. More...
Configuration of CPU peripherals for the Raspberry Pi Pico.
Definition in file periph_conf.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.
| #define | UART_0_ISR (isr_uart0) |
| #define | UART_1_ISR (isr_uart1) |
| #define | UART_NUMOF ARRAY_SIZE(uart_config) |
| #define | SPI_NUMOF ARRAY_SIZE(spi_config) |
| #define | TIMER_0_ISRA isr_timer0 |
| #define | TIMER_0_ISRB isr_timer1 |
| #define | TIMER_0_ISRC isr_timer2 |
| #define | TIMER_0_ISRD isr_timer3 |
| #define | TIMER_NUMOF ARRAY_SIZE(timer_config) |
| static const uart_conf_t | uart_config [] |
| static const spi_conf_t | spi_config [] |
| static const timer_channel_conf_t | timer0_channel_config [] |
| static const timer_conf_t | timer_config [] |
ADC configuration | |
The configuration consists simply of a list of channels that should be used | |
| #define | ADC_NUMOF ARRAY_SIZE(adc_config) |
| static const adc_conf_t | adc_config [] |
I2C configuration | |
| #define | I2C_NUMOF PIO_I2C_NUMOF |
| Number of I2C interfaces. | |
PIO configuration | |
| #define | PIO_0_ISR0 isr_pio00 |
| ISR name of PIO 0 IRQ 0. | |
| #define | PIO_0_ISR1 isr_pio01 |
| ISR name of PIO 0 IRQ 1. | |
| #define | PIO_1_ISR0 isr_pio10 |
| ISR name of PIO 1 IRQ 0. | |
| #define | PIO_1_ISR1 isr_pio11 |
| ISR name of PIO 1 IRQ 1. | |
| #define | PIO_NUMOF ARRAY_SIZE(pio_config) |
| Number of PIOs. | |
| #define | PIO_I2C_NUMOF ARRAY_SIZE(pio_i2c_config) |
| Number of PIO I2C configurations. | |
| static const pio_conf_t | pio_config [] |
| Array of PIO configurations. | |
| static const pio_i2c_conf_t | pio_i2c_config [] |
| PIO I2C configuration. | |
PWM configuration | |
| #define | PWM_NUMOF ARRAY_SIZE(pwm_config) |
| static const pwm_conf_t | pwm_config [] |
| #define ADC_NUMOF ARRAY_SIZE(adc_config) |
Definition at line 107 of file periph_conf.h.
| #define I2C_NUMOF PIO_I2C_NUMOF |
Number of I2C interfaces.
All I2C interfaces are emulated with PIO, see pio_i2c_config.
Definition at line 119 of file periph_conf.h.
| #define PIO_0_ISR0 isr_pio00 |
ISR name of PIO 0 IRQ 0.
Definition at line 142 of file periph_conf.h.
| #define PIO_0_ISR1 isr_pio01 |
ISR name of PIO 0 IRQ 1.
Definition at line 143 of file periph_conf.h.
| #define PIO_1_ISR0 isr_pio10 |
ISR name of PIO 1 IRQ 0.
Definition at line 144 of file periph_conf.h.
| #define PIO_1_ISR1 isr_pio11 |
ISR name of PIO 1 IRQ 1.
Definition at line 145 of file periph_conf.h.
| #define PIO_I2C_NUMOF ARRAY_SIZE(pio_i2c_config) |
Number of PIO I2C configurations.
Definition at line 173 of file periph_conf.h.
| #define PIO_NUMOF ARRAY_SIZE(pio_config) |
Number of PIOs.
Definition at line 147 of file periph_conf.h.
| #define PWM_NUMOF ARRAY_SIZE(pwm_config) |
Definition at line 190 of file periph_conf.h.
| #define SPI_NUMOF ARRAY_SIZE(spi_config) |
Definition at line 63 of file periph_conf.h.
| #define TIMER_0_ISRA isr_timer0 |
Definition at line 88 of file periph_conf.h.
| #define TIMER_0_ISRB isr_timer1 |
Definition at line 89 of file periph_conf.h.
| #define TIMER_0_ISRC isr_timer2 |
Definition at line 90 of file periph_conf.h.
| #define TIMER_0_ISRD isr_timer3 |
Definition at line 91 of file periph_conf.h.
| #define TIMER_NUMOF ARRAY_SIZE(timer_config) |
Definition at line 93 of file periph_conf.h.
| #define UART_0_ISR (isr_uart0) |
Definition at line 43 of file periph_conf.h.
| #define UART_1_ISR (isr_uart1) |
Definition at line 44 of file periph_conf.h.
| #define UART_NUMOF ARRAY_SIZE(uart_config) |
Definition at line 46 of file periph_conf.h.
|
static |
Definition at line 101 of file periph_conf.h.
|
static |
Array of PIO configurations.
Definition at line 129 of file periph_conf.h.
|
static |
PIO I2C configuration.
The two buses use the pins that the pinout of the board labels as I2C0 (SDA: GP4, SCL: GP5) and I2C1 (SDA: GP6, SCL: GP7).
Definition at line 155 of file periph_conf.h.
|
static |
Definition at line 180 of file periph_conf.h.
|
static |
|
static |
Definition at line 65 of file periph_conf.h.
|
static |
Definition at line 80 of file periph_conf.h.
|
static |