Board specific definitions for the SeeedStudio GD32 RISC-V board.  
More...
Board specific definitions for the SeeedStudio GD32 RISC-V 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
◆ BTN1_INT_FLANK
      
        
          | #define BTN1_INT_FLANK   GPIO_RISING | 
        
      
 
 
◆ BTN1_MODE
◆ BTN1_PIN
◆ LED0_MASK
      
        
          | #define LED0_MASK   (1 << 5) | 
        
      
 
 
◆ LED0_OFF
      
        
          | #define LED0_OFF   (GPIOB->BOP = LED0_MASK) | 
        
      
 
 
◆ LED0_ON
      
        
          | #define LED0_ON   (GPIOB->BC = LED0_MASK) | 
        
      
 
 
◆ LED0_PIN
◆ LED0_TOGGLE
      
        
          | #define LED0_TOGGLE   (GPIOB->OCTL ^= LED0_MASK) | 
        
      
 
 
◆ LED1_MASK
      
        
          | #define LED1_MASK   (1 << 0) | 
        
      
 
 
◆ LED1_OFF
      
        
          | #define LED1_OFF   (GPIOB->BOP = LED1_MASK) | 
        
      
 
 
◆ LED1_ON
      
        
          | #define LED1_ON   (GPIOB->BC = LED1_MASK) | 
        
      
 
 
◆ LED1_PIN
◆ LED1_TOGGLE
      
        
          | #define LED1_TOGGLE   (GPIOB->OCTL ^= LED1_MASK) | 
        
      
 
 
◆ LED2_MASK
      
        
          | #define LED2_MASK   (1 << 1) | 
        
      
 
 
◆ LED2_OFF
◆ LED2_ON
◆ LED2_PIN
◆ LED2_TOGGLE
      
        
          | #define LED2_TOGGLE   (GPIOB->OCTL ^= LED2_MASK) | 
        
      
 
 
◆ LED_BLUE_PIN
LED2 is blue. 
Definition at line 64 of file board.h.
 
 
◆ LED_GREEN_PIN
      
        
          | #define LED_GREEN_PIN   LED1_PIN | 
        
      
 
LED1 is green. 
Definition at line 63 of file board.h.
 
 
◆ LED_RED_PIN
      
        
          | #define LED_RED_PIN   LED0_PIN | 
        
      
 
LED0 is red. 
Definition at line 62 of file board.h.
 
 
◆ MTD_0
MTD device for the SD Card. 
Definition at line 71 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) |