2020-07-01 23:44:57 +08:00
|
|
|
/*
|
2021-03-21 22:23:24 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2020-07-01 23:44:57 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2020-06-27 AHTYDHD the first version
|
2024-04-11 18:07:09 +08:00
|
|
|
* 2024-04-11 Astrozen add i2c support
|
2020-07-01 23:44:57 +08:00
|
|
|
*/
|
2020-06-24 19:54:42 +08:00
|
|
|
|
2020-07-01 23:44:57 +08:00
|
|
|
#ifndef __TM4C123GH6PZ_CONFIG_H__
|
|
|
|
#define __TM4C123GH6PZ_CONFIG_H__
|
2020-06-24 19:54:42 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-07-01 23:44:57 +08:00
|
|
|
#ifdef RT_USING_SERIAL
|
|
|
|
void uart_hw_config(void);
|
|
|
|
#endif /* RT_USING_SERIAL */
|
|
|
|
#ifdef RT_USING_ADC
|
2020-06-24 19:54:42 +08:00
|
|
|
void adc_hw_config(void);
|
2020-07-01 23:44:57 +08:00
|
|
|
#endif /* RT_USING_ADC */
|
|
|
|
#ifdef RT_USING_PWM
|
|
|
|
void pwm_hw_config(void);
|
|
|
|
#endif /* RT_USING_PWM */
|
|
|
|
#ifdef RT_USING_SPI
|
|
|
|
void spi_hw_config(void);
|
|
|
|
#endif /* RT_USING_SPI */
|
2024-04-11 18:07:09 +08:00
|
|
|
#ifdef RT_USING_I2C
|
|
|
|
void i2c_hw_config(void);
|
|
|
|
#endif /* RT_USING_I2C */
|
2020-07-01 23:44:57 +08:00
|
|
|
|
2020-06-24 19:54:42 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2020-07-01 23:44:57 +08:00
|
|
|
#endif /*__TM4C123GH6PZ_CONFIG_H__*/
|
2020-06-24 19:54:42 +08:00
|
|
|
|
2020-07-01 23:44:57 +08:00
|
|
|
/************************** end of file ******************/
|
2020-06-24 19:54:42 +08:00
|
|
|
|