Revision cda14729 modules/PowerManagement_1-2/board.h
modules/PowerManagement_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 PowerManagement v1.2 board. |
32 | 36 |
*/ |
... | ... | |
91 | 95 |
* Configuration macro to define which type of sensor ring is attached. |
92 | 96 |
*/ |
93 | 97 |
#if !defined(BOARD_SENSORRING) || defined(__DOXYGEN__) |
94 |
#define BOARD_SENSORRING BOARD_PROXIMITYSENSOR
|
|
98 |
#define BOARD_SENSORRING BOARD_NOSENSORRING
|
|
95 | 99 |
#endif |
96 | 100 |
|
97 | 101 |
/* |
... | ... | |
309 | 313 |
#define LINE_OSC_IN PAL_LINE(GPIOH, 0U) |
310 | 314 |
#define LINE_OSC_OUT PAL_LINE(GPIOH, 1U) |
311 | 315 |
|
316 |
/*===========================================================================*/ |
|
317 |
/* Driver pre-compile time settings. */ |
|
318 |
/*===========================================================================*/ |
|
319 |
|
|
320 |
/*===========================================================================*/ |
|
321 |
/* Derived constants and error checks. */ |
|
322 |
/*===========================================================================*/ |
|
323 |
|
|
324 |
/*===========================================================================*/ |
|
325 |
/* Driver data structures and types. */ |
|
326 |
/*===========================================================================*/ |
|
327 |
|
|
328 |
/*===========================================================================*/ |
|
329 |
/* Driver macros. */ |
|
330 |
/*===========================================================================*/ |
|
331 |
|
|
312 | 332 |
/* |
313 | 333 |
* I/O ports initial setup, this configuration is established soon after reset |
314 | 334 |
* in the initialization code. |
... | ... | |
1384 | 1404 |
PIN_AFIO_AF(GPIOI_PIN14, STM32F4xx_AF_system) | \ |
1385 | 1405 |
PIN_AFIO_AF(GPIOI_PIN15, STM32F4xx_AF_system)) |
1386 | 1406 |
|
1407 |
/*===========================================================================*/ |
|
1408 |
/* External declarations. */ |
|
1409 |
/*===========================================================================*/ |
|
1410 |
|
|
1387 | 1411 |
#if !defined(_FROM_ASM_) |
1388 | 1412 |
#ifdef __cplusplus |
1389 | 1413 |
extern "C" { |
Also available in: Unified diff