20 #include "periph_cpu.h" 
   32 #define PM_BLOCKER_INITIAL { 0, 0, 0 } 
   38 #define CONFIG_ZTIMER_LPTIMER_DEV            TIMER_DEV(1) 
   39 #define CONFIG_ZTIMER_LPTIMER_FREQ           LFXO_FREQ 
   40 #define CONFIG_ZTIMER_LPTIMER_WIDTH          24 
   41 #define CONFIG_ZTIMER_LPTIMER_BLOCK_PM_MODE  EFM32_PM_MODE_EM3 
   59 #define VCOM_UART             UART_DEV(0) 
   60 #define VCOM_EN_PIN           GPIO_PIN(PB, 0) 
   66 #define PB0_PIN               GPIO_PIN(PB, 1) 
   67 #define PB1_PIN               GPIO_PIN(PB, 3) 
   74 #define LED0_PIN              GPIO_PIN(PB, 2) 
   75 #define LED1_PIN              GPIO_PIN(PD, 3) 
   82 #define LED0_ON               gpio_set(LED0_PIN) 
   83 #define LED0_OFF              gpio_clear(LED0_PIN) 
   84 #define LED0_TOGGLE           gpio_toggle(LED0_PIN) 
   85 #define LED1_ON               gpio_set(LED1_PIN) 
   86 #define LED1_OFF              gpio_clear(LED1_PIN) 
   87 #define LED1_TOGGLE           gpio_toggle(LED1_PIN) 
   96 #define DISP_SPI              SPI_DEV(0) 
   97 #define DISP_SCS_PIN          GPIO_PIN(PC, 8) 
   98 #define DISP_EXTCOMIN_PIN     GPIO_PIN(PC, 6) 
   99 #define DISP_ENABLE_PIN       GPIO_PIN(PC, 9) 
  108 #define FLASH_SPI             SPI_DEV(0) 
  109 #define FLASH_CS_PIN          GPIO_PIN(PC, 4) 
  118 #define SI70XX_PARAM_I2C_DEV  I2C_DEV(0) 
  119 #define SI7021_EN_PIN         GPIO_PIN(PC, 9) 
Peripheral MCU configuration for the Zigduino board.
 
Low-level GPIO peripheral driver interface definitions.
 
void board_init(void)
Initialize the board, called from the cpu startup code.