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