board.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
21 #include "cpu.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
31 #define BTN0_PIN GPIO_PIN(0, 11)
32 #define BTN0_MODE GPIO_IN_PU
39 #define SPK_PWR_CTRL_PIN GPIO_PIN(0, 29)
40 #define VDD_PWR_CTRL_PIN GPIO_PIN(0, 30)
47 #define LIS2DH12_PARAM_I2C I2C_DEV(1)
54 #define LPSXXX_PARAM_ADDR (0x5c)
57 #ifdef __cplusplus
58 }
59 #endif
60