diff options
Diffstat (limited to 'lib/chibios/os/hal/ports/LPC/LPC214x/vic.h')
-rw-r--r-- | lib/chibios/os/hal/ports/LPC/LPC214x/vic.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/chibios/os/hal/ports/LPC/LPC214x/vic.h b/lib/chibios/os/hal/ports/LPC/LPC214x/vic.h new file mode 100644 index 000000000..f79ab1fa0 --- /dev/null +++ b/lib/chibios/os/hal/ports/LPC/LPC214x/vic.h | |||
@@ -0,0 +1,39 @@ | |||
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/vic.h | ||
19 | * @brief LPC214x VIC peripheral support header. | ||
20 | * | ||
21 | * @addtogroup LPC214x_VIC | ||
22 | * @{ | ||
23 | */ | ||
24 | |||
25 | #ifndef VIC_H | ||
26 | #define VIC_H | ||
27 | |||
28 | #ifdef __cplusplus | ||
29 | extern "C" { | ||
30 | #endif | ||
31 | void vic_init(void); | ||
32 | void SetVICVector(void *handler, int vector, int source); | ||
33 | #ifdef __cplusplus | ||
34 | } | ||
35 | #endif | ||
36 | |||
37 | #endif /* VIC_H */ | ||
38 | |||
39 | /** @} */ | ||