tm4c123_config.h 862 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-06-27 AHTYDHD the first version
  9. * 2024-04-11 Astrozen add i2c support
  10. */
  11. #ifndef __TM4C123GH6PZ_CONFIG_H__
  12. #define __TM4C123GH6PZ_CONFIG_H__
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #ifdef RT_USING_SERIAL
  17. void uart_hw_config(void);
  18. #endif /* RT_USING_SERIAL */
  19. #ifdef RT_USING_ADC
  20. void adc_hw_config(void);
  21. #endif /* RT_USING_ADC */
  22. #ifdef RT_USING_PWM
  23. void pwm_hw_config(void);
  24. #endif /* RT_USING_PWM */
  25. #ifdef RT_USING_SPI
  26. void spi_hw_config(void);
  27. #endif /* RT_USING_SPI */
  28. #ifdef RT_USING_I2C
  29. void i2c_hw_config(void);
  30. #endif /* RT_USING_I2C */
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34. #endif /*__TM4C123GH6PZ_CONFIG_H__*/
  35. /************************** end of file ******************/