Arduino MKR1000

Support for the Arduino MKR1000 board. More...

Detailed Description


file  arduino-mkr1000/include/arduino_board.h
 Board specific configuration for the Arduino API.
file  arduino-mkr1000/include/arduino_pinmap.h
 Mapping from MCU pins to Arduino pins.
file  arduino-mkr1000/include/board.h
 Board specific definitions for the Arduino MKR1000 board.
file  boards/arduino-mkr1000/include/periph_conf.h
 Configuration of CPU peripherals for Arduino MKR1000 board.


void board_init (void)
 Initialize board specific hardware, including clock, LEDs and std-IO.

LED pin definitions and handlers

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