1 /*
2  * Copyright (C) 2022-2024, Xiaohua Semiconductor Co., Ltd.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2023-03-21     CDT          first version
9  */
10 
11 #ifndef __DRV_COMMON_H__
12 #define __DRV_COMMON_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 void _Error_Handler(char *s, int num);
19 
20 #ifndef Error_Handler
21 #define Error_Handler()                 _Error_Handler(__FILE__, __LINE__)
22 #endif
23 void  SysTick_Configuration(void);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif /* __DRV_COMMON_H__ */
30