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: 2020 Bruno Chianca <brunobcf@gmail.com>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "cpu.h"
19
#include "board_common.h"
20
#include "
periph/gpio.h
"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
31
#define LED0_PIN GPIO_PIN(0, 6)
32
34
39
41
#define LED0_ON gpio_clear(LED0_PIN)
43
#define LED0_OFF gpio_set(LED0_PIN)
45
#define LED0_TOGGLE gpio_toggle(LED0_PIN)
46
48
53
#define APA102_PARAM_LED_NUMOF (1)
54
#define APA102_PARAM_DATA_PIN GPIO_PIN(0, 8)
55
#define APA102_PARAM_CLK_PIN GPIO_PIN(1, 9)
57
63
#define BTN0_PIN GPIO_PIN(0, 29)
65
#define BTN0_MODE GPIO_IN_PU
67
68
#ifdef __cplusplus
69
}
70
#endif
71
gpio.h
Low-level GPIO peripheral driver interface definitions.
Generated on Wed Aug 27 2025 20:40:39 by
1.13.2