rtt_port.h 405 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2023 hpmicro
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. *
  6. */
  7. #ifndef _RTT_PORT_H
  8. #define _RTT_PORT_H
  9. #include "hpm_common.h"
  10. #include "hpm_soc.h"
  11. /* mchtimer section */
  12. #define RT_MCHTMR_FREQ_IN_HZ (24000000UL)
  13. #if defined(__cplusplus)
  14. extern "C" {
  15. #endif /* __cplusplus */
  16. void rtt_base_init(void);
  17. #if defined(__cplusplus)
  18. }
  19. #endif /* __cplusplus */
  20. #endif /* _RTT_PORT_H */