Board specific configuration for the Nordic Thingy:52 board. More...
Board specific configuration for the Nordic Thingy:52 board.
Definition in file board.h.
#include "cpu.h"
Go to the source code of this file.
Functions | |
void | board_init (void) |
Initialize board specific hardware. | |
Button pin configuration | |
#define | BTN0_PIN GPIO_PIN(0, 11) |
#define | BTN0_MODE GPIO_IN_PU |
Power switch pins definitions | |
#define | SPK_PWR_CTRL_PIN GPIO_PIN(0, 29) |
Speaker power switch. | |
#define | VDD_PWR_CTRL_PIN GPIO_PIN(0, 30) |
VDD power switch. | |
LIS2DH12 low power accelerometer configuration | |
#define | LIS2DH12_PARAM_I2C I2C_DEV(1) |
LPS22HB device address | |
#define | LPSXXX_PARAM_ADDR (0x5c) |