1 /* 2 * Copyright (c) 2020-2020, BLUETRUM Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef AB32VG1_HAL_H__ 8 #define AB32VG1_HAL_H__ 9 10 #include "ab32vg1_hal_conf.h" 11 12 void hal_set_tick_hook(void (*hook)(uint32_t ticks)); 13 void hal_set_ticks(uint32_t ticks); 14 uint32_t hal_get_ticks(void); 15 void hal_mdelay(uint32_t nms); 16 void hal_udelay(uint32_t nus); 17 void hal_printf(const char *fmt, ...); 18 19 #endif 20