ab32vg1_hal.h 413 B

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