board.h File Reference

Board specific definitions for the Raspberry Pi Pico. More...

Detailed Description

Board specific definitions for the Raspberry Pi Pico.

Author
Marian Buschsieweke maria.nosp@m.n.bu.nosp@m.schsi.nosp@m.ewek.nosp@m.e@ovg.nosp@m.u.de

Definition in file board.h.

#include "cpu.h"
#include "periph_conf.h"
#include "periph_cpu.h"
#include "periph/gpio.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

LED configuration

#define LED0_PIN   GPIO_PIN(0, 25)
 
#define LED0_ON   do {SIO->GPIO_OUT_SET.reg = 1UL << 25;} while (0)
 
#define LED0_OFF   do {SIO->GPIO_OUT_CLR.reg = 1UL << 25;} while (0)
 
#define LED0_TOGGLE   do {SIO->GPIO_OUT_XOR.reg = 1UL << 25;} while (0)
 
#define LED0_NAME   "LED(Green)"