Support for the Serpente board.
More...
Support for the Serpente board.
Board specific definitions for the Serpente board
- Author
- Benjamin Valentin benpi.nosp@m.cco@.nosp@m.googl.nosp@m.emai.nosp@m.l.com
Definition in file board.h.
#include "cpu.h"
#include "periph_conf.h"
#include "periph/gpio.h"
Go to the source code of this file.
◆ INTERNAL_PERIPHERAL_PID
#define INTERNAL_PERIPHERAL_PID (0x0057) |
◆ INTERNAL_PERIPHERAL_VID
#define INTERNAL_PERIPHERAL_VID (0x239A) |
◆ LED0_MASK
#define LED0_MASK (1 << 22) |
◆ LED0_NAME
#define LED0_NAME "LED(Red)" |
◆ LED0_OFF
#define LED0_OFF (LED_PORT.OUTSET.reg = LED0_MASK) |
◆ LED0_ON
#define LED0_ON (LED_PORT.OUTCLR.reg = LED0_MASK) |
◆ LED0_PIN
◆ LED0_TOGGLE
#define LED0_TOGGLE (LED_PORT.OUTTGL.reg = LED0_MASK) |
◆ LED1_MASK
#define LED1_MASK (1 << 19) |
◆ LED1_NAME
#define LED1_NAME "LED(Green)" |
◆ LED1_OFF
#define LED1_OFF (LED_PORT.OUTSET.reg = LED1_MASK) |
◆ LED1_ON
#define LED1_ON (LED_PORT.OUTCLR.reg = LED1_MASK) |
◆ LED1_PIN
◆ LED1_TOGGLE
#define LED1_TOGGLE (LED_PORT.OUTTGL.reg = LED1_MASK) |
◆ LED2_MASK
#define LED2_MASK (1 << 23) |
◆ LED2_NAME
#define LED2_NAME "LED(Blue)" |
◆ LED2_OFF
#define LED2_OFF (LED_PORT.OUTSET.reg = LED2_MASK) |
◆ LED2_ON
#define LED2_ON (LED_PORT.OUTCLR.reg = LED2_MASK) |
◆ LED2_PIN
◆ LED2_TOGGLE
#define LED2_TOGGLE (LED_PORT.OUTTGL.reg = LED2_MASK) |
◆ LED_PORT
#define LED_PORT PORT->Group[PA] |
◆ MTD_0
◆ SERPENTE_NOR_FLAGS
◆ SERPENTE_NOR_PAGE_SIZE
#define SERPENTE_NOR_PAGE_SIZE (256) |
◆ SERPENTE_NOR_PAGES_PER_SECTOR
#define SERPENTE_NOR_PAGES_PER_SECTOR (16) |
◆ SERPENTE_NOR_SECTOR_COUNT
#define SERPENTE_NOR_SECTOR_COUNT (1024) |
◆ SERPENTE_NOR_SPI_CLK
◆ SERPENTE_NOR_SPI_CS
◆ SERPENTE_NOR_SPI_DEV
#define SERPENTE_NOR_SPI_DEV SPI_DEV(0) |
◆ SERPENTE_NOR_SPI_MODE