Loading...
Searching...
No Matches
Arduino Due Common

Shared files and configuration for Arduino Due based boards. More...

Detailed Description

Shared files and configuration for Arduino Due based boards.

Files

file  arduino_iomap.h
 Mapping from MCU pins to Arduino pins.
 
file  board.h
 Board specific definitions for the Arduino Due based boards.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 Peripheral MCU configuration for Arduino Due based boards.
 
file  sdcard_spi_params.h
 SD card configuration for the Arduino SD card shields.
 

LED pin definitions

#define LED0_PIN   GPIO_PIN(PB, 27)
 
#define LED0_ON   (PIOB->PIO_SODR = PIO_PB27)
 
#define LED0_OFF   (PIOB->PIO_CODR = PIO_PB27)
 
#define LED0_TOGGLE   ((PIOB->PIO_ODSR & PIO_PB27) ? LED0_OFF : LED0_ON)
 

Macro Definition Documentation

◆ LED0_OFF

#define LED0_OFF   (PIOB->PIO_CODR = PIO_PB27)

Definition at line 39 of file board.h.

◆ LED0_ON

#define LED0_ON   (PIOB->PIO_SODR = PIO_PB27)

Definition at line 38 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(PB, 27)

Definition at line 36 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   ((PIOB->PIO_ODSR & PIO_PB27) ? LED0_OFF : LED0_ON)

Definition at line 40 of file board.h.