diff options
Diffstat (limited to 'src/sample/io_sample/ADC/ContinuousMode+GDMA/ble_peripheral/app_flags.h')
-rw-r--r-- | src/sample/io_sample/ADC/ContinuousMode+GDMA/ble_peripheral/app_flags.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/sample/io_sample/ADC/ContinuousMode+GDMA/ble_peripheral/app_flags.h b/src/sample/io_sample/ADC/ContinuousMode+GDMA/ble_peripheral/app_flags.h new file mode 100644 index 0000000..3371839 --- /dev/null +++ b/src/sample/io_sample/ADC/ContinuousMode+GDMA/ble_peripheral/app_flags.h @@ -0,0 +1,40 @@ +/** +***************************************************************************************** +* Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved. +***************************************************************************************** + * @file app_flags.h + * @brief This file is used to config app functions. + * @author jane + * @date 2017-06-06 + * @version v1.0 + ************************************************************************************** + * @attention + * <h2><center>© COPYRIGHT 2017 Realtek Semiconductor Corporation</center></h2> + ************************************************************************************** + */ +#ifndef _APP_FLAGS_H_ +#define _APP_FLAGS_H_ + +#include "upperstack_config.h" + +/** @defgroup PERIPH_Config Peripheral App Configuration + * @brief This file is used to config app functions. + * @{ + */ +/*============================================================================* + * Constants + *============================================================================*/ + +/** @brief Config APP LE link number */ +#define APP_MAX_LINKS 1 +/** @brief Config DLPS: 0-Disable DLPS, 1-Enable DLPS */ +#define F_BT_DLPS_EN 0 +/** @brief Config ANCS Client: 0-Not built in, 1-Open ANCS client function */ +#define F_BT_ANCS_CLIENT_SUPPORT 0 +#define F_BT_ANCS_APP_FILTER (F_BT_ANCS_CLIENT_SUPPORT & 1) +#define F_BT_ANCS_GET_APP_ATTR (F_BT_ANCS_CLIENT_SUPPORT & 0) +/** @brief Config ANCS Client debug log: 0-close, 1-open */ +#define F_BT_ANCS_CLIENT_DEBUG (F_BT_ANCS_CLIENT_SUPPORT & 0) + +/** @} */ /* End of group PERIPH_Config */ +#endif |