• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 GOODIX.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #ifndef __MAIN_H
16 #define __MAIN_H
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 void SystemPeripheralsInit(void);
23 void HardwareRandomInit(void);
24 void OSVectorInit(void);
25 void FileSystemInit(void);
26 void OHOS_SystemInit(void); // this is the service loader function for OHOS
27 void WDT_IRQHandler(void);
28 void BLE_SDK_Handler(void);
29 void BLE_IRQHandler(void);
30 void DMA_IRQHandler(void);
31 void SPI_M_IRQHandler(void);
32 void SPI_S_IRQHandler(void);
33 void EXT0_IRQHandler(void);
34 void EXT1_IRQHandler(void);
35 void TIMER0_IRQHandler(void);
36 void TIMER1_IRQHandler(void);
37 void QSPI0_IRQHandler(void);
38 void UART0_IRQHandler(void);
39 void UART1_IRQHandler(void);
40 void I2C0_IRQHandler(void);
41 void I2C1_IRQHandler(void);
42 void AES_IRQHandler(void);
43 void HMAC_IRQHandler(void);
44 void EXT2_IRQHandler(void);
45 void RNG_IRQHandler(void);
46 void PMU_IRQHandler(void);
47 void PKC_IRQHandler(void);
48 void XQSPI_IRQHandler(void);
49 void QSPI1_IRQHandler(void);
50 void PWR_CMD_IRQHandler(void);
51 void BLESLP_IRQHandler(void);
52 void SLPTIMER_IRQHandler(void);
53 void COMP_IRQHandler(void);
54 void AON_WDT_IRQHandler(void);
55 void I2S_M_IRQHandler(void);
56 void I2S_S_IRQHandler(void);
57 void ISO7816_IRQHandler(void);
58 void PRESENT_IRQHandler(void);
59 void CALENDAR_IRQHandler(void);
60 void DUAL_TIMER_IRQHandler(void);
61 void SVC_Handler(void);
62 void OHOS_SystemInit(void);
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 #endif /* __MAIN_H */
69