Revision cda14729 modules/LightRing_1-2/board.h
modules/LightRing_1-2/board.h | ||
---|---|---|
27 | 27 |
#ifndef BOARD_H |
28 | 28 |
#define BOARD_H |
29 | 29 |
|
30 |
/*===========================================================================*/ |
|
31 |
/* Driver constants. */ |
|
32 |
/*===========================================================================*/ |
|
33 |
|
|
30 | 34 |
/* |
31 | 35 |
* Setup for AMiRo LightRing v1.2 board. |
32 | 36 |
*/ |
... | ... | |
67 | 71 |
#define BOARD_BREAKOUT_UWBv10 1 |
68 | 72 |
|
69 | 73 |
/* |
70 |
* Configuration macro to define which type of sensor ring is attached.
|
|
74 |
* Configuration macro to define which breakout module is attached.
|
|
71 | 75 |
*/ |
72 | 76 |
#if !defined(BOARD_BREAKOUT_MODULE) || defined(__DOXYGEN__) |
73 |
#define BOARD_BREAKOUT_MODULE BOARD_BREAKOUT_UWBv10
|
|
77 |
#define BOARD_BREAKOUT_MODULE BOARD_BREAKOUT_NONE
|
|
74 | 78 |
#endif |
75 | 79 |
|
76 | 80 |
/* |
... | ... | |
245 | 249 |
|
246 | 250 |
#define LINE_SYS_INT_N PAL_LINE(GPIOD, GPIOD_SYS_INT_N) |
247 | 251 |
|
252 |
/*===========================================================================*/ |
|
253 |
/* Driver pre-compile time settings. */ |
|
254 |
/*===========================================================================*/ |
|
255 |
|
|
256 |
/*===========================================================================*/ |
|
257 |
/* Derived constants and error checks. */ |
|
258 |
/*===========================================================================*/ |
|
259 |
|
|
260 |
/*===========================================================================*/ |
|
261 |
/* Driver data structures and types. */ |
|
262 |
/*===========================================================================*/ |
|
263 |
|
|
264 |
/*===========================================================================*/ |
|
265 |
/* Driver macros. */ |
|
266 |
/*===========================================================================*/ |
|
267 |
|
|
248 | 268 |
/* |
249 | 269 |
* I/O ports initial setup, this configuration is established soon after reset |
250 | 270 |
* in the initialization code. |
... | ... | |
644 | 664 |
PIN_ODR_LOW(GPIOG_PIN14) | \ |
645 | 665 |
PIN_ODR_LOW(GPIOG_PIN15)) |
646 | 666 |
|
667 |
/*===========================================================================*/ |
|
668 |
/* External declarations. */ |
|
669 |
/*===========================================================================*/ |
|
670 |
|
|
647 | 671 |
#if !defined(_FROM_ASM_) |
648 | 672 |
#ifdef __cplusplus |
649 | 673 |
extern "C" { |
Also available in: Unified diff