board.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2017 Freie Universität Berlin
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
18 #include "cpu.h"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
28 #define BTN0_PIN GPIO_PIN(0, 11)
29 #define BTN0_MODE GPIO_IN_PU
36 #define SPK_PWR_CTRL_PIN GPIO_PIN(0, 29)
37 #define VDD_PWR_CTRL_PIN GPIO_PIN(0, 30)
44 #define LIS2DH12_PARAM_I2C I2C_DEV(1)
51 #define LPSXXX_PARAM_ADDR (0x5c)
54 #ifdef __cplusplus
55 }
56 #endif
57