gr55xx_hal_conf.h
Go to the documentation of this file.
1
38 /* Define to prevent recursive inclusion -------------------------------------*/
39 #ifndef __GR55xx_HAL_CONF_H__
40 #define __GR55xx_HAL_CONF_H__
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45
46 /* Exported types ------------------------------------------------------------*/
47 /* Exported constants --------------------------------------------------------*/
48
49 /* ########################## Module Selection ############################## */
53 #define HAL_MODULE_ENABLED
54 #define HAL_ADC_MODULE_ENABLED
55 #define HAL_AON_GPIO_MODULE_ENABLED
56 #define HAL_CORTEX_MODULE_ENABLED
57 #define HAL_DMA_MODULE_ENABLED
58 #define HAL_DUAL_TIMER_MODULE_ENABLED
59 #define HAL_EXFLASH_MODULE_ENABLED
60 #define HAL_GPIO_MODULE_ENABLED
61 #define HAL_I2C_MODULE_ENABLED
62 #define HAL_MSIO_MODULE_ENABLED
63 #define HAL_PKC_MODULE_ENABLED
64 #define HAL_PWM_MODULE_ENABLED
65 #define HAL_PWR_MODULE_ENABLED
66 #define HAL_QSPI_MODULE_ENABLED
67 #define HAL_SPI_MODULE_ENABLED
68 //#define HAL_SPI_V2_MODULE_ENABLED
69 #define HAL_TIMER_MODULE_ENABLED
70 #define HAL_UART_MODULE_ENABLED
71 #define HAL_WDT_MODULE_ENABLED
72 #define HAL_XQSPI_MODULE_ENABLED
73 #define HAL_AON_WDT_MODULE_ENABLED
74 #define HAL_CALENDAR_MODULE_ENABLED
75 #define HAL_HMAC_MODULE_ENABLED
76 #define HAL_I2S_MODULE_ENABLED
77 #define HAL_AES_MODULE_ENABLED
78 #define HAL_EFUSE_MODULE_ENABLED
79 #define HAL_ISO7816_MODULE_ENABLED
80 #define HAL_CGC_MODULE_ENABLED
81 #define HAL_RNG_MODULE_ENABLED
82 #define HAL_COMP_MODULE_ENABLED
84 /* ########################### System Configuration ######################### */
85
88 #define TICK_INT_PRIORITY ((uint32_t)(1U<<(__NVIC_PRIO_BITS - 4)) - 1U)
89 #define USE_RTOS 0U
91 /* ########################## Assert Selection ############################## */
92
96 /* #define USE_FULL_ASSERT 1U */
97
98 /* Includes ------------------------------------------------------------------*/
99 #include "gr55xx.h"
103 #ifdef HAL_CORTEX_MODULE_ENABLED
104 #include "gr55xx_hal_cortex.h"
105 #endif /* HAL_CORTEX_MODULE_ENABLED */
106
107 #ifdef HAL_ADC_MODULE_ENABLED
108 #include "gr55xx_hal_adc.h"
109 #endif /* HAL_ADC_MODULE_ENABLED */
110
111 #ifdef HAL_AES_MODULE_ENABLED
112 #include "gr55xx_hal_aes.h"
113 #endif /* HAL_AES_MODULE_ENABLED */
114
115 #ifdef HAL_AON_GPIO_MODULE_ENABLED
116 #include "gr55xx_hal_aon_gpio.h"
117 #endif /* HAL_AON_GPIO_MODULE_ENABLED */
118
119 #ifdef HAL_AON_WDT_MODULE_ENABLED
120 #include "gr55xx_hal_aon_wdt.h"
121 #endif /* HAL_AON_WDT_MODULE_ENABLED */
122
123 #ifdef HAL_CALENDAR_MODULE_ENABLED
124 #include "gr55xx_hal_calendar.h"
125 #endif /* HAL_CALENDAR_MODULE_ENABLED */
126
127 #ifdef HAL_DMA_MODULE_ENABLED
128 #include "gr55xx_hal_dma.h"
129 #endif /* HAL_DMA_MODULE_ENABLED */
130
131 #ifdef HAL_DUAL_TIMER_MODULE_ENABLED
132 #include "gr55xx_hal_dual_tim.h"
133 #endif /* HAL_DUAL_TIMER_MODULE_ENABLED */
134
135 #ifdef HAL_GPIO_MODULE_ENABLED
136 #include "gr55xx_hal_gpio.h"
137 #endif /* HAL_GPIO_MODULE_ENABLED */
138
139 #ifdef HAL_HMAC_MODULE_ENABLED
140 #include "gr55xx_hal_hmac.h"
141 #endif /* HAL_HMAC_MODULE_ENABLED */
142
143 #ifdef HAL_I2C_MODULE_ENABLED
144 #include "gr55xx_hal_i2c.h"
145 #endif /* HAL_I2C_MODULE_ENABLED */
146
147 #ifdef HAL_I2S_MODULE_ENABLED
148 #include "gr55xx_hal_i2s.h"
149 #endif /* HAL_I2S_MODULE_ENABLED */
150
151 #ifdef HAL_MSIO_MODULE_ENABLED
152 #include "gr55xx_hal_msio.h"
153 #endif /* HAL_MSIO_MODULE_ENABLED */
154
155 #ifdef HAL_PKC_MODULE_ENABLED
156 #include "gr55xx_hal_pkc.h"
157 #endif /* HAL_PKC_MODULE_ENABLED */
158
159 #ifdef HAL_PWM_MODULE_ENABLED
160 #include "gr55xx_hal_pwm.h"
161 #endif /* HAL_PWM_MODULE_ENABLED */
162
163 #ifdef HAL_PWR_MODULE_ENABLED
164 #include "gr55xx_hal_pwr.h"
165 #endif /* HAL_PWR_MODULE_ENABLED */
166
167 #ifdef HAL_QSPI_MODULE_ENABLED
168 #include "gr55xx_hal_qspi.h"
169 #endif /* HAL_QSPI_MODULE_ENABLED */
170
171 #ifdef HAL_SPI_MODULE_ENABLED
172 #include "gr55xx_hal_spi.h"
173 #endif /* HAL_SPI_MODULE_ENABLED */
174
175 #ifdef HAL_SPI_V2_MODULE_ENABLED
176 #include "gr55xx_hal_spi_v2.h"
177 #endif /* HAL_SPI_V2_MODULE_ENABLED */
178
179 #ifdef HAL_TIMER_MODULE_ENABLED
180 #include "gr55xx_hal_tim.h"
181 #endif /* HAL_TIMER_MODULE_ENABLED */
182
183 #ifdef HAL_UART_MODULE_ENABLED
184 #include "gr55xx_hal_uart.h"
185 #endif /* HAL_UART_MODULE_ENABLED */
186
187 #ifdef HAL_WDT_MODULE_ENABLED
188 #include "gr55xx_hal_wdt.h"
189 #endif /* HAL_WDT_MODULE_ENABLED */
190
191 #ifdef HAL_XQSPI_MODULE_ENABLED
192 #include "gr55xx_hal_xqspi.h"
193 #endif /* HAL_XQSPI_MODULE_ENABLED */
194
195 #ifdef HAL_EXFLASH_MODULE_ENABLED
196 #include "gr55xx_hal_exflash.h"
197 #endif /* HAL_EXFLASH_MODULE_ENABLED */
198
199 #ifdef HAL_EFUSE_MODULE_ENABLED
200 #include "gr55xx_hal_efuse.h"
201 #endif /* HAL_EFUSE_MODULE_ENABLED */
202
203 #ifdef HAL_CGC_MODULE_ENABLED
204 #include "gr55xx_hal_cgc.h"
205 #endif /* HAL_CGC_MODULE_ENABLED */
206
207 #ifdef HAL_RNG_MODULE_ENABLED
208 #include "gr55xx_hal_rng.h"
209 #endif /* HAL_RNG_MODULE_ENABLED */
210
211 #ifdef HAL_COMP_MODULE_ENABLED
212 #include "gr55xx_hal_comp.h"
213 #endif /* HAL_COMP_MODULE_ENABLED */
214
215 #ifdef HAL_ISO7816_MODULE_ENABLED
216 #include "gr55xx_hal_iso7816.h"
217 #endif /* HAL_ISO7816_MODULE_ENABLED */
218 /* Exported macro ------------------------------------------------------------*/
219 #ifdef USE_FULL_ASSERT
220
228 #define gr_assert_param(expr) ((expr) ? (void)0U : assert_failed((char *)__FILE__, __LINE__))
229 /* Exported functions ------------------------------------------------------- */
230 void assert_failed(char *file, uint32_t line);
231 #else
232 #define gr_assert_param(expr) ((void)0U)
233 #endif /* USE_FULL_ASSERT */
234
235 #ifdef __cplusplus
236 }
237 #endif
238
239 #endif /* __GR55xx_HAL_CONF_H__ */
240
gr55xx_hal_dual_tim.h
Header file containing functions prototypes of DUAL TIMER HAL library.
gr55xx_hal_wdt.h
Header file containing functions prototypes of WDT HAL library.
gr55xx_hal_calendar.h
Header file containing functions prototypes of CALENDAR HAL library.
gr55xx_hal_spi.h
Header file containing functions prototypes of SPI HAL library.
gr55xx_hal_cortex.h
Header file of CORTEX HAL module.
gr55xx_hal_aon_gpio.h
Header file containing functions prototypes of AON GPIO HAL library.
gr55xx_hal_i2s.h
Header file containing functions prototypes of I2S HAL library.
gr55xx_hal_hmac.h
Header file containing functions prototypes of HMAC HAL library.
gr55xx_hal_pkc.h
Header file containing functions prototypes of PKC HAL library.
gr55xx_hal_iso7816.h
Header file containing functions prototypes of ISO7816 HAL library.
gr55xx_hal_aon_wdt.h
Header file containing functions prototypes of AON WDT HAL library.
gr55xx_hal_aes.h
Header file containing functions prototypes of AES HAL library.
gr55xx_hal_cgc.h
Header file containing functions prototypes of CGC HAL library.
gr55xx_hal_msio.h
Header file containing functions prototypes of MSIO HAL library.
gr55xx_hal_gpio.h
Header file containing functions prototypes of GPIO HAL library.
gr55xx_hal_comp.h
Header file containing functions prototypes of COMP HAL library.
gr55xx_hal_adc.h
Header file containing functions prototypes of ADC HAL library.
gr55xx_hal_exflash.h
Header file containing functions prototypes of EXFLASH HAL library.
gr55xx_hal_i2c.h
Header file containing functions prototypes of I2C HAL library.
gr55xx_hal_pwr.h
Header file containing functions prototypes of PWR HAL library.
gr55xx_hal_uart.h
Header file containing functions prototypes of UART HAL library.
gr55xx_hal_dma.h
Header file containing functions prototypes of DMA HAL library.
gr55xx_hal_rng.h
Header file containing functions prototypes of RNG HAL library.
gr55xx_hal_xqspi.h
Header file containing functions prototypes of XQSPI HAL library.
gr55xx_hal_qspi.h
Header file containing functions prototypes of QSPI HAL library.
gr55xx_hal_spi_v2.h
Header file containing functions prototypes of SPI HAL library.
gr55xx_hal_tim.h
Header file containing functions prototypes of TIMER HAL library.
gr55xx_hal_pwm.h
Header file containing functions prototypes of PWM HAL library.
gr55xx_hal_efuse.h
Header file containing functions prototypes of eFuse HAL library.