board.h 484 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2021-2024 RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-06-02 supperthomas first version
  9. * 2024-12-08 wumingzi support rt_hw_us_delay
  10. */
  11. #ifndef __BOARD_H__
  12. #define __BOARD_H__
  13. #include <rtconfig.h>
  14. #include "rttypes.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. void rt_hw_board_init(void);
  19. void rt_hw_us_delay(rt_uint32_t us);
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif