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
* 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
20
#ifndef BOARD_H
21
#define BOARD_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
31
#define XTIMER_WIDTH (16)
32
#define XTIMER_BACKOFF (19)
39
#define LED0_PIN_NUM 9
40
#define LED0_PORT GPIO_PORT_B
41
#define LED0_PORT_NUM PORT_B
48
#define BTN0_PIN GPIO_PIN(PORT_C, 15)
49
#define BTN0_MODE GPIO_IN
59
#define DXL_DIR_PIN GPIO_PIN(PORT_B, 5)
60
64
#define STDIO_UART_DEV UART_DEV(0)
65
70
#ifndef STDIO_UART_BAUDRATE
71
#define STDIO_UART_BAUDRATE (921600UL)
72
#endif
75
#ifdef __cplusplus
76
}
77
#endif
78
79
#include "
stm32_leds.h
"
80
81
#endif
/* BOARD_H */
stm32_leds.h
Common LED macros.
Generated on Thu Nov 21 2024 13:52:59 by
1.9.8