app_drv_config.h File Reference

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

#include "custom_config.h"
+ Include dependency graph for app_drv_config.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define APP_DVR_LOG_LVL_NONE   (0)
 None log level define. More...
 
#define APP_DVR_LOG_LVL_ERR   (1)
 Error log level define. More...
 
#define APP_DVR_LOG_LVL_WARN   (2)
 Warning log level define. More...
 
#define APP_DVR_LOG_LVL_INFO   (3)
 Info log level define. More...
 
#define APP_DRV_LOG_LEVEL   APP_DVR_LOG_LVL_NONE
 App driver log level setting. More...
 
#define APP_DRV_LOG_INTERFACE   printf
 App driver log interface setting. More...
 
#define APP_DRV_ASSERT_ENABLE   0
 App driver assert enable. More...
 
#define APP_DRIVER_GR551X   0x0
 APP_DRIVER for GR551X. More...
 
#define APP_DRIVER_GR5525X   0x1
 APP_DRIVER for GR5525X. More...
 
#define APP_DRIVER_GR5526X   0x2
 APP_DRIVER for GR5526X. More...
 
#define APP_DRIVER_GR5332X   0x3
 APP_DRIVER for GR5332X. More...
 
#define APP_DRIVER_GR5405   0x3
 APP_DRIVER for GR5405. More...
 
#define APP_DRIVER_ADC_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 APP driver peripheral priority define. More...
 
#define APP_DRIVER_AES_WAKEUP_PRIORITY   WAKEUP_PRIORITY_MID
 AES Wakeup priority Mid. More...
 
#define APP_DRIVER_COMP_WAKEUP_PRIORITY   WAKEUP_PRIORITY_LOW
 COMP Wakeup priority Low. More...
 
#define APP_DRIVER_DUAL_TIM_WAKEUP_PRIORITY   WAKEUP_PRIORITY_MID
 DUAL TIM Wakeup priority Mid. More...
 
#define APP_DRIVER_DMA_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 DMA Wakeup priority High. More...
 
#define APP_DRIVER_UART_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 Uart Wakeup priority High. More...
 
#define APP_DRIVER_HMAC_WAKEUP_PRIORITY   WAKEUP_PRIORITY_MID
 Hmac Wakeup priority Mid. More...
 
#define APP_DRIVER_I2C_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 I2C Wakeup priority High. More...
 
#define APP_DRIVER_I2S_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 I2S Wakeup priority High. More...
 
#define APP_DRIVER_QSPI_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 QSPI Wakeup priority High. More...
 
#define APP_DRIVER_RNG_WAKEUP_PRIORITY   WAKEUP_PRIORITY_MID
 RNG Wakeup priority Mid. More...
 
#define APP_DRIVER_SPI_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 SPI Wakeup priority High. More...
 
#define APP_DRIVER_TIM_WAKEUP_PRIORITY   WAKEUP_PRIORITY_MID
 TIM Wakeup priority Mid. More...
 
#define APP_DRIVER_PWM_WAKEUP_PRIORITY   WAKEUP_PRIORITY_MID
 PWM Wakeup priority Mid. More...
 
#define APP_DRIVER_ISO7816_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 ISO7816 Wakeup priority High. More...
 
#define APP_DRIVER_PKC_WAKEUP_PRIORITY   WAKEUP_PRIORITY_HIGH
 PKC Wakeup priority High. More...
 

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.