gr55xx_hal_aon_gpio_ex.h
Go to the documentation of this file.
1
51
/* Define to prevent recursive inclusion -------------------------------------*/
52
#ifndef __GR55xx_HAL_AON_GPIO_EX_H__
53
#define __GR55xx_HAL_AON_GPIO_EX_H__
54
55
#ifdef __cplusplus
56
extern
"C"
{
57
#endif
58
59
/* Includes ------------------------------------------------------------------*/
60
#include "
gr55xx_hal_def.h
"
61
#include "
gr55xx_ll_gpio.h
"
62
63
/* Exported types ------------------------------------------------------------*/
64
70
/* Exported constants --------------------------------------------------------*/
78
#define AON_GPIO_MUX_0 LL_AON_GPIO_MUX_0
79
#define AON_GPIO_MUX_1 LL_AON_GPIO_MUX_1
80
#define AON_GPIO_MUX_2 LL_AON_GPIO_MUX_2
81
#define AON_GPIO_MUX_3 LL_AON_GPIO_MUX_3
82
#define AON_GPIO_MUX_4 LL_AON_GPIO_MUX_4
83
#define AON_GPIO_MUX_5 LL_AON_GPIO_MUX_5
84
#define AON_GPIO_MUX_6 LL_AON_GPIO_MUX_6
85
#define AON_GPIO_MUX_7 LL_AON_GPIO_MUX_7
92
#if defined (GR551xx)
93
/*---------------------------------- GR551xx ------------------------------*/
94
99
#define AON_GPIO_PIN_MUX_GPIO AON_GPIO_MUX_7
106
#define AON_GPIO_PIN1_MUX_QSPIM0_CS_N AON_GPIO_MUX_5
107
#define AON_GPIO_PIN1_MUX_COEX_BLE_TX AON_GPIO_MUX_6
113
#define AON_GPIO_PIN2_MUX_SIM_PRESENCE AON_GPIO_MUX_0
114
#define AON_GPIO_PIN2_MUX_QSPIM1_CS_N AON_GPIO_MUX_1
115
#define AON_GPIO_PIN2_MUX_I2S_WS AON_GPIO_MUX_2
116
#define AON_GPIO_PIN2_MUX_I2S_S_WS AON_GPIO_MUX_3
117
#define AON_GPIO_PIN2_MUX_PWM0_C AON_GPIO_MUX_5
118
#define AON_GPIO_PIN2_MUX_COEX_BLE_PROC AON_GPIO_MUX_6
124
#define AON_GPIO_PIN3_MUX_SIM_RST_N AON_GPIO_MUX_0
125
#define AON_GPIO_PIN3_MUX_QSPIM1_IO_0 AON_GPIO_MUX_1
126
#define AON_GPIO_PIN3_MUX_I2S_TX_SDO AON_GPIO_MUX_2
127
#define AON_GPIO_PIN3_MUX_I2S_S_TX_SDO AON_GPIO_MUX_3
128
#define AON_GPIO_PIN3_MUX_PWM1_A AON_GPIO_MUX_5
129
#define AON_GPIO_PIN3_MUX_COEX_WLAN_RX AON_GPIO_MUX_6
135
#define AON_GPIO_PIN4_MUX_SIM_IO AON_GPIO_MUX_0
136
#define AON_GPIO_PIN4_MUX_QSPIM1_IO_1 AON_GPIO_MUX_1
137
#define AON_GPIO_PIN4_MUX_I2S_RX_SDI AON_GPIO_MUX_2
138
#define AON_GPIO_PIN4_MUX_I2S_S_RX_SDI AON_GPIO_MUX_3
139
#define AON_GPIO_PIN4_MUX_PWM1_B AON_GPIO_MUX_5
140
#define AON_GPIO_PIN4_MUX_COEX_BLE_RX AON_GPIO_MUX_6
146
#define AON_GPIO_PIN5_MUX_SIM_CLK AON_GPIO_MUX_0
147
#define AON_GPIO_PIN5_MUX_QSPIM1_CLK AON_GPIO_MUX_1
148
#define AON_GPIO_PIN5_MUX_I2S_SCLK AON_GPIO_MUX_2
149
#define AON_GPIO_PIN5_MUX_I2S_S_SCLK AON_GPIO_MUX_3
150
#define AON_GPIO_PIN5_MUX_PWM1_C AON_GPIO_MUX_5
151
#define AON_GPIO_PIN5_MUX_COEX_WLAN_TX AON_GPIO_MUX_6
159
#define IS_AON_GPIO_MUX(__MUX__) (((__MUX__) <= AON_GPIO_MUX_7))
160
161
/*------------------------------------------------------------------------------------------*/
162
#endif
/* GR551xx */
163
170
#ifdef __cplusplus
171
}
172
#endif
173
174
#endif
/* __GR55xx_HAL_AON_GPIO_EX_H__ */
175
gr55xx_ll_gpio.h
Header file containing functions prototypes of GPIO LL library.
gr55xx_hal_def.h
This file contains HAL common definitions, enumeration, macros and structures definitions.