gr533x_hal_conf.h File Reference

HAL configuration file. More...

#include "gr533x.h"
#include "gr533x_hal_cortex.h"
#include "gr533x_hal_adc.h"
#include "gr533x_hal_aon_gpio.h"
#include "gr533x_hal_aon_wdt.h"
#include "gr533x_hal_calendar.h"
#include "gr533x_hal_dma.h"
#include "gr533x_hal_dual_tim.h"
#include "gr533x_hal_gpio.h"
#include "gr533x_hal_i2c.h"
#include "gr533x_hal_msio.h"
#include "gr533x_hal_pwm.h"
#include "gr533x_hal_pwr.h"
#include "gr533x_hal_spi.h"
#include "gr533x_hal_tim.h"
#include "gr533x_hal_uart.h"
#include "gr533x_hal_wdt.h"
#include "gr533x_hal_xqspi.h"
#include "gr533x_hal_exflash.h"
#include "gr533x_hal_efuse.h"
#include "gr533x_hal_cgc.h"
#include "gr533x_hal_rng.h"
#include "gr533x_hal_comp.h"
#include "gr533x_hal_sleep_timer.h"
#include "gr533x_hal_rtc.h"
#include "gr533x_hal_pwr_mgmt.h"
#include "gr533x_hal_clock.h"
#include "gr533x_ll_aon_pmu.h"
#include "gr533x_ll_aon_rf.h"
#include "gr533x_ll_clk_cal.h"
#include "gr533x_ll_ddvs.h"
#include "gr533x_hal_br.h"
#include "gr533x_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_PWM_MODULE_ENABLED
 
#define HAL_PWR_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_RTC_MODULE_ENABLED
 
#define HAL_EFUSE_MODULE_ENABLED
 
#define HAL_CGC_MODULE_ENABLED
 
#define HAL_RNG_MODULE_ENABLED
 
#define HAL_COMP_MODULE_ENABLED
 
#define HAL_PWR_MGMT_ENABLED
 
#define HAL_SLEEP_TIMER_MODULE_ENABLED
 
#define HAL_CLOCK_MODULE_ENABLED
 
#define HAL_PMU_MODULE_ENABLED
 
#define HAL_BR_MODULE_ENABLED
 
#define HAL_BOD_MODULE_ENABLED
 
#define HAL_PARAMS_CHECK   1
 
#define HAL_STATUS_CHECK   1
 
#define HAL_PWMG_STATE_CHECK   1
 
#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 gr533x_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 243 of file gr533x_hal_conf.h.

◆ HAL_ADC_MODULE_ENABLED

#define HAL_ADC_MODULE_ENABLED

Enable ADC HAL module driver

Definition at line 54 of file gr533x_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 gr533x_hal_conf.h.

◆ HAL_AON_WDT_MODULE_ENABLED

#define HAL_AON_WDT_MODULE_ENABLED

Enable AON WDT module driver

Definition at line 70 of file gr533x_hal_conf.h.

◆ HAL_BOD_MODULE_ENABLED

#define HAL_BOD_MODULE_ENABLED

Enable BOD module driver

Definition at line 82 of file gr533x_hal_conf.h.

◆ HAL_BR_MODULE_ENABLED

#define HAL_BR_MODULE_ENABLED

Enable bridge layer module driver

Definition at line 81 of file gr533x_hal_conf.h.

◆ HAL_CALENDAR_MODULE_ENABLED

#define HAL_CALENDAR_MODULE_ENABLED

Enable CALENDAR module driver

Definition at line 71 of file gr533x_hal_conf.h.

◆ HAL_CGC_MODULE_ENABLED

#define HAL_CGC_MODULE_ENABLED

Enable CGC module driver

Definition at line 74 of file gr533x_hal_conf.h.

◆ HAL_CLOCK_MODULE_ENABLED

#define HAL_CLOCK_MODULE_ENABLED

Enable clock manage module driver

Definition at line 79 of file gr533x_hal_conf.h.

◆ HAL_COMP_MODULE_ENABLED

#define HAL_COMP_MODULE_ENABLED

Enable COMP module driver

Definition at line 76 of file gr533x_hal_conf.h.

◆ HAL_CORTEX_MODULE_ENABLED

#define HAL_CORTEX_MODULE_ENABLED

Enable CORTEX HAL module driver

Definition at line 56 of file gr533x_hal_conf.h.

◆ HAL_DMA_MODULE_ENABLED

#define HAL_DMA_MODULE_ENABLED

Enable DMA HAL module driver

Definition at line 57 of file gr533x_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 gr533x_hal_conf.h.

◆ HAL_EFUSE_MODULE_ENABLED

#define HAL_EFUSE_MODULE_ENABLED

Enable EFUSE module driver

Definition at line 73 of file gr533x_hal_conf.h.

◆ HAL_EXFLASH_MODULE_ENABLED

#define HAL_EXFLASH_MODULE_ENABLED

Enable EXFLASH module driver

Definition at line 59 of file gr533x_hal_conf.h.

◆ HAL_GPIO_MODULE_ENABLED

#define HAL_GPIO_MODULE_ENABLED

Enable GPIO module driver

Definition at line 60 of file gr533x_hal_conf.h.

◆ HAL_I2C_MODULE_ENABLED

#define HAL_I2C_MODULE_ENABLED

Enable I2C module driver

Definition at line 61 of file gr533x_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 gr533x_hal_conf.h.

◆ HAL_MSIO_MODULE_ENABLED

#define HAL_MSIO_MODULE_ENABLED

Enable MSIO module driver

Definition at line 62 of file gr533x_hal_conf.h.

◆ HAL_PARAMS_CHECK

#define HAL_PARAMS_CHECK   1

Params check

Definition at line 84 of file gr533x_hal_conf.h.

◆ HAL_PMU_MODULE_ENABLED

#define HAL_PMU_MODULE_ENABLED

Enable PMU module driver

Definition at line 80 of file gr533x_hal_conf.h.

◆ HAL_PWM_MODULE_ENABLED

#define HAL_PWM_MODULE_ENABLED

Enable PWM module driver

Definition at line 63 of file gr533x_hal_conf.h.

◆ HAL_PWMG_STATE_CHECK

#define HAL_PWMG_STATE_CHECK   1

Pwmg state check

Definition at line 86 of file gr533x_hal_conf.h.

◆ HAL_PWR_MGMT_ENABLED

#define HAL_PWR_MGMT_ENABLED

Enable PWR MGMT module driver

Definition at line 77 of file gr533x_hal_conf.h.

◆ HAL_PWR_MODULE_ENABLED

#define HAL_PWR_MODULE_ENABLED

Enable PWR module driver

Definition at line 64 of file gr533x_hal_conf.h.

◆ HAL_RNG_MODULE_ENABLED

#define HAL_RNG_MODULE_ENABLED

Enable RNG module driver

Definition at line 75 of file gr533x_hal_conf.h.

◆ HAL_RTC_MODULE_ENABLED

#define HAL_RTC_MODULE_ENABLED

Enable RTC module driver

Definition at line 72 of file gr533x_hal_conf.h.

◆ HAL_SLEEP_TIMER_MODULE_ENABLED

#define HAL_SLEEP_TIMER_MODULE_ENABLED

Enable SLEPP TIMER module driver

Definition at line 78 of file gr533x_hal_conf.h.

◆ HAL_SPI_MODULE_ENABLED

#define HAL_SPI_MODULE_ENABLED

Enable SPI module driver

Definition at line 65 of file gr533x_hal_conf.h.

◆ HAL_STATUS_CHECK

#define HAL_STATUS_CHECK   1

Status check

Definition at line 85 of file gr533x_hal_conf.h.

◆ HAL_TIMER_MODULE_ENABLED

#define HAL_TIMER_MODULE_ENABLED

Enable TIM module driver

Definition at line 66 of file gr533x_hal_conf.h.

◆ HAL_UART_MODULE_ENABLED

#define HAL_UART_MODULE_ENABLED

Enable UART module driver

Definition at line 67 of file gr533x_hal_conf.h.

◆ HAL_WDT_MODULE_ENABLED

#define HAL_WDT_MODULE_ENABLED

Enable WDT module driver

Definition at line 68 of file gr533x_hal_conf.h.

◆ HAL_XQSPI_MODULE_ENABLED

#define HAL_XQSPI_MODULE_ENABLED

Enable XQSPI module driver

Definition at line 69 of file gr533x_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 92 of file gr533x_hal_conf.h.

◆ USE_RTOS

#define USE_RTOS   0U

use rtos

Definition at line 93 of file gr533x_hal_conf.h.