Board specific definitions for the Sipeed Longan Nano board.
More...
Board specific definitions for the Sipeed Longan Nano board.
- Author
- Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net
-
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net
Definition in file board.h.
#include "board_common.h"
#include "periph/gpio.h"
Go to the source code of this file.
◆ BTN0_INT_FLANK
#define BTN0_INT_FLANK GPIO_RISING |
◆ BTN0_MODE
◆ BTN0_PIN
◆ LED0_MASK
#define LED0_MASK (1 << 13) |
◆ LED0_OFF
#define LED0_OFF (GPIOC->BOP = LED0_MASK) |
◆ LED0_ON
#define LED0_ON (GPIOC->BC = LED0_MASK) |
◆ LED0_PIN
◆ LED0_TOGGLE
#define LED0_TOGGLE (GPIOC->OCTL ^= LED0_MASK) |
◆ LED1_MASK
#define LED1_MASK (1 << 1) |
◆ LED1_OFF
◆ LED1_ON
◆ LED1_PIN
◆ LED1_TOGGLE
#define LED1_TOGGLE (GPIOA->OCTL ^= LED1_MASK) |
◆ LED2_MASK
#define LED2_MASK (1 << 2) |
◆ LED2_OFF
◆ LED2_ON
◆ LED2_PIN
◆ LED2_TOGGLE
#define LED2_TOGGLE (GPIOA->OCTL ^= LED2_MASK) |
◆ LED_BLUE_PIN
LED2 is blue.
Definition at line 63 of file board.h.
◆ LED_GREEN_PIN
LED1 is green.
Definition at line 62 of file board.h.
◆ LED_RED_PIN
#define LED_RED_PIN LED0_PIN |
LED0 is red.
Definition at line 61 of file board.h.
◆ MTD_0
MTD device for the SD Card.
Definition at line 70 of file board.h.
◆ SDCARD_SPI_PARAM_CLK
◆ SDCARD_SPI_PARAM_CS
◆ SDCARD_SPI_PARAM_MISO
◆ SDCARD_SPI_PARAM_MOSI
◆ SDCARD_SPI_PARAM_SPI
#define SDCARD_SPI_PARAM_SPI SPI_DEV(0) |