board.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 INRIA
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for more
6  * details.
7  */
8 
9 #pragma once
10 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
30 #define XTIMER_WIDTH (16)
31 #define XTIMER_BACKOFF (19)
38 #define LED0_PIN_NUM 9
39 #define LED0_PORT GPIO_PORT_B
40 #define LED0_PORT_NUM PORT_B
47 #define BTN0_PIN GPIO_PIN(PORT_C, 15)
48 #define BTN0_MODE GPIO_IN
58 #define DXL_DIR_PIN GPIO_PIN(PORT_B, 5)
59 
63 #define STDIO_UART_DEV UART_DEV(0)
64 
69 #ifndef STDIO_UART_BAUDRATE
70 #define STDIO_UART_BAUDRATE (921600UL)
71 #endif
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #include "stm32_leds.h"
79 
Common LED macros.