diff options
Diffstat (limited to 'lib/chibios/os/hal/ports/LPC/LPC214x/hal_lld.h')
-rw-r--r-- | lib/chibios/os/hal/ports/LPC/LPC214x/hal_lld.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/lib/chibios/os/hal/ports/LPC/LPC214x/hal_lld.h b/lib/chibios/os/hal/ports/LPC/LPC214x/hal_lld.h new file mode 100644 index 000000000..7ce0f690b --- /dev/null +++ b/lib/chibios/os/hal/ports/LPC/LPC214x/hal_lld.h | |||
@@ -0,0 +1,83 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | /** | ||
18 | * @file LPC214x/hal_lld.h | ||
19 | * @brief LPC214x HAL subsystem low level driver header. | ||
20 | * | ||
21 | * @addtogroup HAL | ||
22 | * @{ | ||
23 | */ | ||
24 | |||
25 | #ifndef HAL_LLD_H | ||
26 | #define HAL_LLD_H | ||
27 | |||
28 | #include "lpc214x.h" | ||
29 | #include "vic.h" | ||
30 | |||
31 | /*===========================================================================*/ | ||
32 | /* Driver constants. */ | ||
33 | /*===========================================================================*/ | ||
34 | |||
35 | /** | ||
36 | * @brief Defines the support for realtime counters in the HAL. | ||
37 | */ | ||
38 | #define HAL_IMPLEMENTS_COUNTERS FALSE | ||
39 | |||
40 | /** | ||
41 | * @brief Platform name. | ||
42 | */ | ||
43 | #define PLATFORM_NAME "LPC214x" | ||
44 | |||
45 | /*===========================================================================*/ | ||
46 | /* Driver pre-compile time settings. */ | ||
47 | /*===========================================================================*/ | ||
48 | |||
49 | /** | ||
50 | * @brief Default action for the non vectored IRQ handler, nothing. | ||
51 | */ | ||
52 | #if !defined(LPC214x_NON_VECTORED_IRQ_HOOK) || defined(__DOXYGEN__) | ||
53 | #define LPC214x_NON_VECTORED_IRQ_HOOK() | ||
54 | #endif | ||
55 | |||
56 | /*===========================================================================*/ | ||
57 | /* Derived constants and error checks. */ | ||
58 | /*===========================================================================*/ | ||
59 | |||
60 | /*===========================================================================*/ | ||
61 | /* Driver data structures and types. */ | ||
62 | /*===========================================================================*/ | ||
63 | |||
64 | /*===========================================================================*/ | ||
65 | /* Driver macros. */ | ||
66 | /*===========================================================================*/ | ||
67 | |||
68 | /*===========================================================================*/ | ||
69 | /* External declarations. */ | ||
70 | /*===========================================================================*/ | ||
71 | |||
72 | #ifdef __cplusplus | ||
73 | extern "C" { | ||
74 | #endif | ||
75 | void hal_lld_init(void); | ||
76 | void lpc214x_clock_init(void); | ||
77 | #ifdef __cplusplus | ||
78 | } | ||
79 | #endif | ||
80 | |||
81 | #endif /* HAL_LLD_H */ | ||
82 | |||
83 | /** @} */ | ||