- 用 DLD154V4B vd1_task/per_channel 替换 vds_task 复杂算法
- 移除 FUNCTION_B/二次判断/快速变化/多重确认等增强特性
- 保留平坦性离开算法 (CN200910309382),每通道独立状态
- 灵敏度表改为 DLD154V4B 4级: {216,108,36,10} / {108,72,18,9}
- 清理废弃类型: FltHistoryManager, Loop_ACS_Info, StageRangeConfig 等
- 首次添加 vd960DBN 完整源码
51 lines
1.4 KiB
C
51 lines
1.4 KiB
C
/********************************** (C) COPYRIGHT *******************************
|
|
* File Name : SLEEP.h
|
|
* Author : WCH
|
|
* Version : V1.0
|
|
* Date : 2018/11/12
|
|
* Description :
|
|
*********************************************************************************
|
|
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
|
|
* Attention: This software (modified or not) and binary are used for
|
|
* microcontroller manufactured by Nanjing Qinheng Microelectronics.
|
|
*******************************************************************************/
|
|
|
|
/******************************************************************************/
|
|
#ifndef __SLEEP_H
|
|
#define __SLEEP_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*********************************************************************
|
|
* GLOBAL VARIABLES
|
|
*/
|
|
|
|
/*********************************************************************
|
|
* FUNCTIONS
|
|
*/
|
|
|
|
/**
|
|
* @brief Configure sleep Wake-up source - RTC wake up, trigger mode
|
|
*/
|
|
extern void HAL_SleepInit(void);
|
|
|
|
/**
|
|
* @brief Start sleep
|
|
*
|
|
* @param time - Wake-up time (RTC absolute value)
|
|
*
|
|
* @return state.
|
|
*/
|
|
extern uint32_t BLE_LowPower(uint32_t time);
|
|
|
|
/*********************************************************************
|
|
*********************************************************************/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|