Macros
gr55xx_hal_conf.h File Reference

HAL configuration file. More...

`#include "gr55xx.h"`
`#include "gr55xx_hal_cortex.h"`
`#include "gr55xx_hal_adc.h"`
`#include "gr55xx_hal_adc_voltage_api.h"`
`#include "gr55xx_hal_adc_temp_api.h"`
`#include "gr55xx_hal_adc_vbat_api.h"`
`#include "gr55xx_hal_aes.h"`
`#include "gr55xx_hal_aon_gpio.h"`
`#include "gr55xx_hal_aon_wdt.h"`
`#include "gr55xx_hal_calendar.h"`
`#include "gr55xx_hal_dma.h"`
`#include "gr55xx_hal_dual_tim.h"`
`#include "gr55xx_hal_gpio.h"`
`#include "gr55xx_hal_hmac.h"`
`#include "gr55xx_hal_i2c.h"`
`#include "gr55xx_hal_i2s.h"`
`#include "gr55xx_hal_msio.h"`
`#include "gr55xx_hal_pkc.h"`
`#include "gr55xx_hal_pwm.h"`
`#include "gr55xx_hal_pwr.h"`
`#include "gr55xx_hal_qspi.h"`
`#include "gr55xx_hal_spi.h"`
`#include "gr55xx_hal_tim.h"`
`#include "gr55xx_hal_uart.h"`
`#include "gr55xx_hal_wdt.h"`
`#include "gr55xx_hal_xqspi.h"`
`#include "gr55xx_hal_exflash.h"`
`#include "gr55xx_hal_efuse.h"`
`#include "gr55xx_hal_cgc.h"`
`#include "gr55xx_hal_rng.h"`
`#include "gr55xx_hal_comp.h"`
`#include "gr55xx_hal_iso7816.h"`
`#include "gr55xx_hal_sleep_timer.h"`
`#include "gr55xx_hal_bod.h"`

Go to the source code of this file.

## Macros
#define | HAL_MODULE_ENABLED
| This is the list of modules to be used in the HAL driver. More...
#define | HAL_ADC_MODULE_ENABLED
#define | HAL_AON_GPIO_MODULE_ENABLED
#define | HAL_CORTEX_MODULE_ENABLED
#define | HAL_DMA_MODULE_ENABLED
#define | HAL_DUAL_TIMER_MODULE_ENABLED
#define | HAL_EXFLASH_MODULE_ENABLED
#define | HAL_GPIO_MODULE_ENABLED
#define | HAL_I2C_MODULE_ENABLED
#define | HAL_MSIO_MODULE_ENABLED
#define | HAL_PKC_MODULE_ENABLED
#define | HAL_PWM_MODULE_ENABLED
#define | HAL_PWR_MODULE_ENABLED
#define | HAL_QSPI_MODULE_ENABLED
#define | HAL_SPI_MODULE_ENABLED
#define | HAL_TIMER_MODULE_ENABLED
#define | HAL_UART_MODULE_ENABLED
#define | HAL_WDT_MODULE_ENABLED
#define | HAL_XQSPI_MODULE_ENABLED
#define | HAL_AON_WDT_MODULE_ENABLED
#define | HAL_CALENDAR_MODULE_ENABLED
#define | HAL_HMAC_MODULE_ENABLED
#define | HAL_I2S_MODULE_ENABLED
#define | HAL_AES_MODULE_ENABLED
#define | HAL_EFUSE_MODULE_ENABLED
#define | HAL_ISO7816_MODULE_ENABLED
#define | HAL_CGC_MODULE_ENABLED
#define | HAL_RNG_MODULE_ENABLED
#define | HAL_COMP_MODULE_ENABLED
#define | HAL_SLEEP_TIMER_MODULE_ENABLED
#define | HAL_BOD_MODULE_ENABLED
#define | TICK_INT_PRIORITY ((uint32_t)(1U<<(__NVIC_PRIO_BITS - 4)) - 1U)
| This is the HAL system configuration section. More...
#define | USE_RTOS 0U
#define | gr_assert_param(expr) ((void)0U)
| Uncomment the line below to expanse the "gr_assert_param" macro in the HAL drivers code. More...

## Detailed Description

HAL configuration file.

Author
  BLE Driver Team

Attention
  #####Copyright (c) 2019 GOODIX All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file gr55xx_hal_conf.h.

## Macro Definition Documentation

## ◆ gr_assert_param

#define gr_assert_param | ( |  | expr | ) | ((void)0U)

Uncomment the line below to expanse the "gr_assert_param" macro in the HAL drivers code.

Include module's header file

Definition at line 246 of file gr55xx_hal_conf.h.

## ◆ HAL_ADC_MODULE_ENABLED

#define HAL_ADC_MODULE_ENABLED

Enable ADC HAL module driver

Definition at line 54 of file gr55xx_hal_conf.h.

## ◆ HAL_AES_MODULE_ENABLED

#define HAL_AES_MODULE_ENABLED

Enable AES module driver

Definition at line 77 of file gr55xx_hal_conf.h.

## ◆ HAL_AON_GPIO_MODULE_ENABLED

#define HAL_AON_GPIO_MODULE_ENABLED

Enable AON GPIO HAL module driver

Definition at line 55 of file gr55xx_hal_conf.h.

## ◆ HAL_AON_WDT_MODULE_ENABLED

#define HAL_AON_WDT_MODULE_ENABLED

Enable AON WDT module driver

Definition at line 73 of file gr55xx_hal_conf.h.

## ◆ HAL_BOD_MODULE_ENABLED

#define HAL_BOD_MODULE_ENABLED

Enable BOD module driver

Definition at line 84 of file gr55xx_hal_conf.h.

## ◆ HAL_CALENDAR_MODULE_ENABLED

#define HAL_CALENDAR_MODULE_ENABLED

Enable CALENDAR module driver

Definition at line 74 of file gr55xx_hal_conf.h.

## ◆ HAL_CGC_MODULE_ENABLED

#define HAL_CGC_MODULE_ENABLED

Enable CGC module driver

Definition at line 80 of file gr55xx_hal_conf.h.

## ◆ HAL_COMP_MODULE_ENABLED

#define HAL_COMP_MODULE_ENABLED

Enable COMP module driver

Definition at line 82 of file gr55xx_hal_conf.h.

## ◆ HAL_CORTEX_MODULE_ENABLED

#define HAL_CORTEX_MODULE_ENABLED

Enable CORTEX HAL module driver

Definition at line 56 of file gr55xx_hal_conf.h.

## ◆ HAL_DMA_MODULE_ENABLED

#define HAL_DMA_MODULE_ENABLED

Enable DMA HAL module driver

Definition at line 57 of file gr55xx_hal_conf.h.

## ◆ HAL_DUAL_TIMER_MODULE_ENABLED

#define HAL_DUAL_TIMER_MODULE_ENABLED

Enable DUAL TIM module driver

Definition at line 58 of file gr55xx_hal_conf.h.

## ◆ HAL_EFUSE_MODULE_ENABLED

#define HAL_EFUSE_MODULE_ENABLED

Enable EFUSE module driver

Definition at line 78 of file gr55xx_hal_conf.h.

## ◆ HAL_EXFLASH_MODULE_ENABLED

#define HAL_EXFLASH_MODULE_ENABLED

Enable EXFLASH module driver

Definition at line 59 of file gr55xx_hal_conf.h.

## ◆ HAL_GPIO_MODULE_ENABLED

#define HAL_GPIO_MODULE_ENABLED

Enable GPIO module driver

Definition at line 60 of file gr55xx_hal_conf.h.

## ◆ HAL_HMAC_MODULE_ENABLED

#define HAL_HMAC_MODULE_ENABLED

Enable HMAC module driver

Definition at line 75 of file gr55xx_hal_conf.h.

## ◆ HAL_I2C_MODULE_ENABLED

#define HAL_I2C_MODULE_ENABLED

Enable I2C module driver

Definition at line 61 of file gr55xx_hal_conf.h.

## ◆ HAL_I2S_MODULE_ENABLED

#define HAL_I2S_MODULE_ENABLED

Enable I2S module driver

Definition at line 76 of file gr55xx_hal_conf.h.

## ◆ HAL_ISO7816_MODULE_ENABLED

#define HAL_ISO7816_MODULE_ENABLED

Enable ISO7816 module driver

Definition at line 79 of file gr55xx_hal_conf.h.

## ◆ HAL_MODULE_ENABLED

#define HAL_MODULE_ENABLED

This is the list of modules to be used in the HAL driver.

Enable HAL module driver

Definition at line 53 of file gr55xx_hal_conf.h.

## ◆ HAL_MSIO_MODULE_ENABLED

#define HAL_MSIO_MODULE_ENABLED

Enable MSIO module driver

Definition at line 62 of file gr55xx_hal_conf.h.

## ◆ HAL_PKC_MODULE_ENABLED

#define HAL_PKC_MODULE_ENABLED

Enable PKC module driver

Definition at line 63 of file gr55xx_hal_conf.h.

## ◆ HAL_PWM_MODULE_ENABLED

#define HAL_PWM_MODULE_ENABLED

Enable PWM module driver

Definition at line 64 of file gr55xx_hal_conf.h.

## ◆ HAL_PWR_MODULE_ENABLED

#define HAL_PWR_MODULE_ENABLED

Enable PWR module driver

Definition at line 65 of file gr55xx_hal_conf.h.

## ◆ HAL_QSPI_MODULE_ENABLED

#define HAL_QSPI_MODULE_ENABLED

Enable QSPI module driver

Definition at line 66 of file gr55xx_hal_conf.h.

## ◆ HAL_RNG_MODULE_ENABLED

#define HAL_RNG_MODULE_ENABLED

Enable RNG module driver

Definition at line 81 of file gr55xx_hal_conf.h.

## ◆ HAL_SLEEP_TIMER_MODULE_ENABLED

#define HAL_SLEEP_TIMER_MODULE_ENABLED

Enable SLEPP TIMER module driver

Definition at line 83 of file gr55xx_hal_conf.h.

## ◆ HAL_SPI_MODULE_ENABLED

#define HAL_SPI_MODULE_ENABLED

Enable SPI module driver

Definition at line 67 of file gr55xx_hal_conf.h.

## ◆ HAL_TIMER_MODULE_ENABLED

#define HAL_TIMER_MODULE_ENABLED

Enable TIM module driver

Definition at line 69 of file gr55xx_hal_conf.h.

## ◆ HAL_UART_MODULE_ENABLED

#define HAL_UART_MODULE_ENABLED

Enable UART module driver

Definition at line 70 of file gr55xx_hal_conf.h.

## ◆ HAL_WDT_MODULE_ENABLED

#define HAL_WDT_MODULE_ENABLED

Enable WDT module driver

Definition at line 71 of file gr55xx_hal_conf.h.

## ◆ HAL_XQSPI_MODULE_ENABLED

#define HAL_XQSPI_MODULE_ENABLED

Enable XQSPI module driver

Definition at line 72 of file gr55xx_hal_conf.h.

## ◆ TICK_INT_PRIORITY

#define TICK_INT_PRIORITY ((uint32_t)(1U<<(__NVIC_PRIO_BITS - 4)) - 1U)

This is the HAL system configuration section.

tick interrupt priority (lowest by default) by group priority 4.

Definition at line 90 of file gr55xx_hal_conf.h.

## ◆ USE_RTOS

#define USE_RTOS 0U

use rtos

Definition at line 91 of file gr55xx_hal_conf.h.