4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 10:43:31 +08:00

30 lines
525 B
C
Raw Normal View History

2024-01-09 21:56:37 +08:00
/*
* 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__ */