📄 appconfig.h
字号:
#ifndef __APPCONFIG_H
#define __APPCONFIG_H
/*****************************************************************************
*
* Include needed SDK components below by changing #undef to #define.
* Refer to ../config/config.h for complete list of all components and
* component default initialization.
*
*****************************************************************************/
#define INCLUDE_BSP /* BSP support - includes SIM,COP,CORE,PLL,ITCN */
#undef INCLUDE_3DES /* 3des library */
#define INCLUDE_ADC /* ADC support */
#undef INCLUDE_AEC /* AEC library */
#undef INCLUDE_BLDC /* BLDC library */
#undef INCLUDE_BUTTON /* Button support */
#undef INCLUDE_CALLER_ID /* CallerID library */
#undef INCLUDE_CAN /* CAN support */
#undef INCLUDE_CAS_DETECT /* CAS_detect library */
#undef INCLUDE_COP /* COP support (subset of BSP) */
#undef INCLUDE_CORE /* CORE support (subset of BSP) */
#undef INCLUDE_CPT /* CPT library */
#undef INCLUDE_DECODER /* Quadrature Decoder support */
#undef INCLUDE_DES /* DES library */
#define INCLUDE_DSPFUNC /* DSP Function library */
#undef INCLUDE_DTMF_DET /* DTMF detect library */
#undef INCLUDE_DTMF_GEN /* DTMF generation library */
#undef INCLUDE_FILEIO /* File I/O support */
#undef INCLUDE_FLASH /* Flash support */
#undef INCLUDE_G165 /* G165 vocoder library */
#undef INCLUDE_G711 /* G711 vocoder library */
#undef INCLUDE_G726 /* G726 vocoder library */
#define INCLUDE_GPIO /* General Purpose I/O support */
#define INCLUDE_IO /* I/O support */
#undef INCLUDE_ITCN /* ITCN support (subset of BSP) */
#undef INCLUDE_LED /* LED support for target board */
#undef INCLUDE_MCFUNC /* Motor Control functional library */
#undef INCLUDE_MEMORY /* Memory support */
#define INCLUDE_PCMASTER /* PC Master support */
#undef INCLUDE_PLL /* PLL support (subset of BSP) */
#undef INCLUDE_PWM /* PWM support */
#undef INCLUDE_QUAD_TIMER /* Quadrature timer support */
#define INCLUDE_SCI /* SCI support */
#undef INCLUDE_SIM /* SIM support (subset of BSP) */
#define INCLUDE_SPI /* SPI support */
#undef INCLUDE_SRM /* Switch Relactance library */
#undef INCLUDE_STACK_CHECK /* Stack utilization routines */
#undef INCLUDE_SWITCH /* Switch support */
#define INCLUDE_TIMER /* Timer support */
#undef INCLUDE_VAD /* VAD library */
#undef INCLUDE_V8BIS /* V8bis library */
#undef INCLUDE_V22 /* V22 library */
#undef INCLUDE_V42BIS /* V42bis library */
#define INCLUDE_IO_SPI
/* ADC setting */
#define ADC_SCANMODE ADC_SEQUENTIAL_ONCE
#define ADC_INITIATE_SCAN ADC_INITIATE_SCAN_ON_START
#define ADC_SET_DIVISOR 6
#define GPR_INT_PRIORITY_55 2
#define INCLUDE_ADCA_SAMPLE_0
#define INCLUDE_ADCA_SAMPLE_1
#define INCLUDE_ADCA_SAMPLE_2
#define ADC_RAW_CONVERSION_COMPLETE_CALLBACK CC_CallBack1
/*****************************************************************************
*
* Overwrite default component initializations from config/config.h
* using #defines here
*
*****************************************************************************/
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -