Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
19
#ifndef BOARD_H
20
#define BOARD_H
21
22
#include "cpu.h"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
32
#define BTN0_PIN GPIO_PIN(0, 11)
33
#define BTN0_MODE GPIO_IN_PU
40
#define SPK_PWR_CTRL_PIN GPIO_PIN(0, 29)
41
#define VDD_PWR_CTRL_PIN GPIO_PIN(0, 30)
48
#define LIS2DH12_PARAM_I2C I2C_DEV(1)
55
#define LPSXXX_PARAM_ADDR (0x5c)
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
/* BOARD_H */
Generated on Sat Dec 21 2024 20:58:01 by
1.9.8