Loading...
Searching...
No Matches
board.h File Reference

Board specific configuration for the Nordic Thingy:52 board. More...

Detailed Description

Board specific configuration for the Nordic Thingy:52 board.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file board.h.

#include "cpu.h"
+ Include dependency graph for board.h:

Go to the source code of this file.

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)
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Definition at line 33 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(0, 11)

Definition at line 32 of file board.h.

◆ LIS2DH12_PARAM_I2C

#define LIS2DH12_PARAM_I2C   I2C_DEV(1)

Definition at line 48 of file board.h.

◆ LPSXXX_PARAM_ADDR

#define LPSXXX_PARAM_ADDR   (0x5c)

Definition at line 55 of file board.h.

◆ SPK_PWR_CTRL_PIN

#define SPK_PWR_CTRL_PIN   GPIO_PIN(0, 29)

Speaker power switch.

Definition at line 40 of file board.h.

◆ VDD_PWR_CTRL_PIN

#define VDD_PWR_CTRL_PIN   GPIO_PIN(0, 30)

VDD power switch.

Definition at line 41 of file board.h.