summaryrefslogtreecommitdiff
path: root/bsp/tm4c123bsp/board/tm4c123_config.h
blob: e62134c00e25c218291d8b3e021bbe1a58c2c181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-06-27     AHTYDHD      the first version
 * 2024-04-11     Astrozen     add i2c support
 */

#ifndef __TM4C123GH6PZ_CONFIG_H__
#define __TM4C123GH6PZ_CONFIG_H__

#ifdef __cplusplus
extern "C" {
#endif

#ifdef RT_USING_SERIAL
void uart_hw_config(void);
#endif /* RT_USING_SERIAL */
#ifdef RT_USING_ADC
void adc_hw_config(void);
#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 */
#ifdef RT_USING_I2C
void i2c_hw_config(void);
#endif /* RT_USING_I2C */

#ifdef __cplusplus
}
#endif

#endif /*__TM4C123GH6PZ_CONFIG_H__*/

/************************** end of file ******************/