4.104.115
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup lpc32xx |
---|
5 | * |
---|
6 | * @brief Clock driver configuration. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2009 |
---|
11 | * embedded brains GmbH |
---|
12 | * Obere Lagerstr. 30 |
---|
13 | * D-82178 Puchheim |
---|
14 | * Germany |
---|
15 | * <rtems@embedded-brains.de> |
---|
16 | * |
---|
17 | * The license and distribution terms for this file may be |
---|
18 | * found in the file LICENSE in this distribution or at |
---|
19 | * http://www.rtems.com/license/LICENSE. |
---|
20 | */ |
---|
21 | |
---|
22 | #ifndef LIBBSP_ARM_LPC32XX_LPC_CLOCK_CONFIG_H |
---|
23 | #define LIBBSP_ARM_LPC32XX_LPC_CLOCK_CONFIG_H |
---|
24 | |
---|
25 | #include <bsp.h> |
---|
26 | #include <bsp/irq.h> |
---|
27 | #include <bsp/lpc32xx.h> |
---|
28 | |
---|
29 | #ifdef __cplusplus |
---|
30 | extern "C" { |
---|
31 | #endif /* __cplusplus */ |
---|
32 | |
---|
33 | #define LPC_CLOCK_INTERRUPT LPC32XX_IRQ_TIMER_0 |
---|
34 | |
---|
35 | #define LPC_CLOCK_TIMER_BASE LPC32XX_BASE_TIMER_0 |
---|
36 | |
---|
37 | #define LPC_CLOCK_REFERENCE LPC32XX_PERIPH_CLK |
---|
38 | |
---|
39 | #define LPC_CLOCK_MODULE_ENABLE() |
---|
40 | |
---|
41 | #ifdef __cplusplus |
---|
42 | } |
---|
43 | #endif /* __cplusplus */ |
---|
44 | |
---|
45 | #endif /* LIBBSP_ARM_LPC32XX_LPC_CLOCK_CONFIG_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.