Loading...
Searching...
No Matches
Common files of Arduino Zero and clones

Detailed Description

Files

file  arduino_iomap.h
 Mapping from MCU pins to Arduino pins.
 
file  board.h
 Board specific definitions for the Arduino Zero board and clones.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 Configuration of CPU peripherals for Arduino Zero board and clones.
 

xtimer configuration

#define XTIMER_DEV   TIMER_DEV(1)
 
#define XTIMER_CHAN   (0)
 

LED pin definitions and handlers

#define LED0_PIN   GPIO_PIN(PA, 17)
 
#define LED_PORT   PORT->Group[PA]
 
#define LED0_MASK   (1 << 17)
 
#define LED0_ON   (LED_PORT.OUTSET.reg = LED0_MASK)
 
#define LED0_OFF   (LED_PORT.OUTCLR.reg = LED0_MASK)
 
#define LED0_TOGGLE   (LED_PORT.OUTTGL.reg = LED0_MASK)
 

Macro Definition Documentation

◆ LED0_MASK

#define LED0_MASK   (1 << 17)

Definition at line 48 of file board.h.

◆ LED0_OFF

#define LED0_OFF   (LED_PORT.OUTCLR.reg = LED0_MASK)

Definition at line 51 of file board.h.

◆ LED0_ON

#define LED0_ON   (LED_PORT.OUTSET.reg = LED0_MASK)

Definition at line 50 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(PA, 17)

Definition at line 45 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   (LED_PORT.OUTTGL.reg = LED0_MASK)

Definition at line 52 of file board.h.

◆ LED_PORT

#define LED_PORT   PORT->Group[PA]

Definition at line 47 of file board.h.

◆ XTIMER_CHAN

#define XTIMER_CHAN   (0)

Definition at line 38 of file board.h.

◆ XTIMER_DEV

#define XTIMER_DEV   TIMER_DEV(1)

Definition at line 37 of file board.h.