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
* SPDX-FileCopyrightText: 2017 Freie Universität Berlin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
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
31
36
#define SPK_PWR_CTRL_PIN GPIO_PIN(0, 29)
37
#define VDD_PWR_CTRL_PIN GPIO_PIN(0, 30)
39
44
#define LIS2DH12_PARAM_I2C I2C_DEV(1)
46
51
#define LPSXXX_PARAM_ADDR (0x5c)
53
54
#ifdef __cplusplus
55
}
56
#endif
57
Generated on Wed Aug 27 2025 20:40:39 by
1.13.2