board.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2017 INRIA
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
27 #define XTIMER_WIDTH (16)
28 #define XTIMER_BACKOFF (19)
35 #define LED0_PIN_NUM 9
36 #define LED0_PORT GPIO_PORT_B
37 #define LED0_PORT_NUM PORT_B
44 #define BTN0_PIN GPIO_PIN(PORT_C, 15)
45 #define BTN0_MODE GPIO_IN
55 #define DXL_DIR_PIN GPIO_PIN(PORT_B, 5)
56 
60 #define STDIO_UART_DEV UART_DEV(0)
61 
66 #ifndef STDIO_UART_BAUDRATE
67 #define STDIO_UART_BAUDRATE (921600UL)
68 #endif
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 #include "stm32_leds.h"
76 
Common LED macros.