Wirepas SDK
board.h File Reference

Detailed Description

Board definition for the Ruuvitag device

Definition in file board.h.

Go to the source code of this file.

Macros

#define USE_SPI0
 
#define BOARD_SPI_SCK_PIN   29
 
#define BOARD_SPI_MOSI_PIN   25
 
#define BOARD_SPI_MISO_PIN   28
 
#define BOARD_SPI_LIS2DH12_CS_PIN   8
 
#define BOARD_SPI_BME280_CS_PIN   3
 
#define BOARD_LIS2DH12_INT1_PIN   2
 
#define BOARD_LED_PIN_LIST   {17, 19}
 
#define BOARD_LED_ACTIVE_LOW   true
 
#define BOARD_BUTTON_PIN_LIST   {13}
 
#define BOARD_BUTTON_ACTIVE_LOW   true
 
#define BOARD_BUTTON_INTERNAL_PULL   true
 

Macro Definition Documentation

◆ BOARD_BUTTON_ACTIVE_LOW

#define BOARD_BUTTON_ACTIVE_LOW   true

Definition at line 43 of file board.h.

◆ BOARD_BUTTON_INTERNAL_PULL

#define BOARD_BUTTON_INTERNAL_PULL   true

Definition at line 46 of file board.h.

◆ BOARD_BUTTON_PIN_LIST

#define BOARD_BUTTON_PIN_LIST   {13}

Definition at line 40 of file board.h.

◆ BOARD_LED_ACTIVE_LOW

#define BOARD_LED_ACTIVE_LOW   true

Definition at line 37 of file board.h.

◆ BOARD_LED_PIN_LIST

#define BOARD_LED_PIN_LIST   {17, 19}

Definition at line 34 of file board.h.

◆ BOARD_LIS2DH12_INT1_PIN

#define BOARD_LIS2DH12_INT1_PIN   2

Definition at line 28 of file board.h.

◆ BOARD_SPI_BME280_CS_PIN

#define BOARD_SPI_BME280_CS_PIN   3
Examples
ruuvi_evk/app.c.

Definition at line 25 of file board.h.

◆ BOARD_SPI_LIS2DH12_CS_PIN

#define BOARD_SPI_LIS2DH12_CS_PIN   8
Examples
ruuvi_evk/app.c.

Definition at line 24 of file board.h.

◆ BOARD_SPI_MISO_PIN

#define BOARD_SPI_MISO_PIN   28

Definition at line 21 of file board.h.

◆ BOARD_SPI_MOSI_PIN

#define BOARD_SPI_MOSI_PIN   25

Definition at line 20 of file board.h.

◆ BOARD_SPI_SCK_PIN

#define BOARD_SPI_SCK_PIN   29

Definition at line 19 of file board.h.

◆ USE_SPI0

#define USE_SPI0

Definition at line 17 of file board.h.