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 12 #ifndef __TM4C123GH6PZ_CONFIG_H__ 13 #define __TM4C123GH6PZ_CONFIG_H__ 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 #ifdef RT_USING_SERIAL 20 void uart_hw_config(void); 21 #endif /* RT_USING_SERIAL */ 22 #ifdef RT_USING_ADC 23 void adc_hw_config(void); 24 #endif /* RT_USING_ADC */ 25 #ifdef RT_USING_PWM 26 void pwm_hw_config(void); 27 #endif /* RT_USING_PWM */ 28 #ifdef RT_USING_SPI 29 void spi_hw_config(void); 30 #endif /* RT_USING_SPI */ 31 #ifdef RT_USING_I2C 32 void i2c_hw_config(void); 33 #endif /* RT_USING_I2C */ 34 35 #ifdef __cplusplus 36 } 37 #endif 38 39 #endif /*__TM4C123GH6PZ_CONFIG_H__*/ 40 41 /************************** end of file ******************/ 42 43