Macros | Enumerations
app_drv_config.h File Reference

Header file of app driver config code. More...

`#include "custom_config.h"`
`#include "grx_hal.h"`

Go to the source code of this file.

## Macros
#define | APP_DVR_LOG_LVL_NONE (0)
#define | APP_DVR_LOG_LVL_ERR (1)
#define | APP_DVR_LOG_LVL_WARN (2)
#define | APP_DVR_LOG_LVL_INFO (3)
#define | APP_DRV_LOG_LEVEL APP_DVR_LOG_LVL_NONE
#define | APP_DRV_LOG_INTERFACE printf
#define | APP_DRV_ASSERT_ENABLE 0
#define | APP_DRIVER_GR551X 0x0
#define | APP_DRIVER_GR5525X 0x1
#define | APP_DRIVER_GR5526X 0x2
#define | APP_DRIVER_GR5332X 0x3
#define | APP_DRIVER_GR5405 0x3
#define | GPIOA_IRQn EXT0_IRQn
#define | DMA_CHANNEL_MAX DMA_Channel_NUM_MAX
#define | DUAL_TIMER0_BASE DUAL_TIM0_BASE
#define | DUAL_TIMER1_BASE DUAL_TIM1_BASE
#define | APP_PWM_STOP_SPEC_CH_ENABLE
#define | APP_RTC_WORK_AROUND_DISABLE
#define | APP_ADC_VBAT_TEMP_CONV_ENABLE
#define | APP_COMP_EDGE_ENABLE
#define | AON_WDT_INSTANCE_MAX 1
#define | APP_DRIVER_ADC_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
| APP driver peripheral priority define. More...
#define | APP_DRIVER_AES_WAKEUP_PRIORITY WAKEUP_PRIORITY_MID
#define | APP_DRIVER_COMP_WAKEUP_PRIORITY WAKEUP_PRIORITY_LOW
#define | APP_DRIVER_DUAL_TIM_WAKEUP_PRIORITY WAKEUP_PRIORITY_MID
#define | APP_DRIVER_DMA_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_UART_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_HMAC_WAKEUP_PRIORITY WAKEUP_PRIORITY_MID
#define | APP_DRIVER_I2C_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_I2S_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_QSPI_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_RNG_WAKEUP_PRIORITY WAKEUP_PRIORITY_MID
#define | APP_DRIVER_SPI_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_TIM_WAKEUP_PRIORITY WAKEUP_PRIORITY_MID
#define | APP_DRIVER_PWM_WAKEUP_PRIORITY WAKEUP_PRIORITY_MID
#define | APP_DRIVER_ISO7816_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_PKC_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_DSPI_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_PDM_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_CAN_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH
#define | APP_DRIVER_LIN_WAKEUP_PRIORITY WAKEUP_PRIORITY_HIGH

## Enumerations
enum | wakeup_priority_t { WAKEUP_PRIORITY_LOW = 1, WAKEUP_PRIORITY_MID, WAKEUP_PRIORITY_HIGH }
| APP driver peripheral wakeup priority define. More...

## Detailed Description

Header file of app driver config code.

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 app_drv_config.h.