1 | /******************************************************************************
|
---|
2 | * @file system_RZ_A1H.h
|
---|
3 | * @brief CMSIS Device System Header File for ARM Cortex-A Device Series
|
---|
4 | * @version V1.00
|
---|
5 | * @date 10 Mar 2017
|
---|
6 | *
|
---|
7 | * @note
|
---|
8 | *
|
---|
9 | ******************************************************************************/
|
---|
10 | /*
|
---|
11 | * Copyright (c) 2009-2017 ARM Limited. All rights reserved.
|
---|
12 | *
|
---|
13 | * SPDX-License-Identifier: Apache-2.0
|
---|
14 | *
|
---|
15 | * Licensed under the Apache License, Version 2.0 (the License); you may
|
---|
16 | * not use this file except in compliance with the License.
|
---|
17 | * You may obtain a copy of the License at
|
---|
18 | *
|
---|
19 | * www.apache.org/licenses/LICENSE-2.0
|
---|
20 | *
|
---|
21 | * Unless required by applicable law or agreed to in writing, software
|
---|
22 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT
|
---|
23 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
24 | * See the License for the specific language governing permissions and
|
---|
25 | * limitations under the License.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __SYSTEM_RZ_A1H_H
|
---|
29 | #define __SYSTEM_RZ_A1H_H
|
---|
30 |
|
---|
31 | #ifdef __cplusplus
|
---|
32 | extern "C" {
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | #include <stdint.h>
|
---|
36 |
|
---|
37 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
|
---|
38 |
|
---|
39 | typedef void(*IRQHandler)(); /*!< Type Definition for Interrupt Handlers */
|
---|
40 |
|
---|
41 | /**
|
---|
42 | \brief Setup the microcontroller system.
|
---|
43 |
|
---|
44 | Initialize the System and update the SystemCoreClock variable.
|
---|
45 | */
|
---|
46 | extern void SystemInit (void);
|
---|
47 |
|
---|
48 |
|
---|
49 | /**
|
---|
50 | \brief Update SystemCoreClock variable.
|
---|
51 |
|
---|
52 | Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
|
---|
53 | */
|
---|
54 | extern void SystemCoreClockUpdate (void);
|
---|
55 |
|
---|
56 | /**
|
---|
57 | \brief Interrupt Handler Register.
|
---|
58 |
|
---|
59 | Registers an Interrupt Handler into the IRQ Table.
|
---|
60 | */
|
---|
61 | extern uint32_t InterruptHandlerRegister(IRQn_Type, IRQHandler);
|
---|
62 |
|
---|
63 | /**
|
---|
64 | \brief Interrupt Handler Unregister.
|
---|
65 |
|
---|
66 | Unregisters an Interrupt Handler from the IRQ Table.
|
---|
67 | */
|
---|
68 | extern uint32_t InterruptHandlerUnregister(IRQn_Type);
|
---|
69 |
|
---|
70 | /**
|
---|
71 | \brief Create Translation Table.
|
---|
72 |
|
---|
73 | Creates Memory Management Unit Translation Table.
|
---|
74 | */
|
---|
75 | extern void MMU_CreateTranslationTable(void);
|
---|
76 |
|
---|
77 | #ifdef __cplusplus
|
---|
78 | }
|
---|
79 | #endif
|
---|
80 |
|
---|
81 | #endif /* __SYSTEM_RZ_A1H_H */
|
---|