board.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2021 BISSELL Homecare, Inc.
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
18 #include "cpu.h"
19 #include "periph_conf.h"
20 #include "periph_cpu.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #define LED0_PIN_NUM 12
27 #define LED0_PORT GPIO_PORT_A
28 #define LED0_PORT_NUM PORT_A
29 
30 #define BTN0_PIN GPIO_PIN(PORT_A, 0)
31 #define BTN0_MODE GPIO_IN
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #include "stm32_leds.h"
38 
Peripheral MCU configuration for the Zigduino board.
Common LED macros.