From ac3eb3210f17aedfed086520c022befb28f7599c Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期三, 19 七月 2023 17:46:10 +0800 Subject: [PATCH] 测试提交 --- Src/decadriver/deca_device_api.h | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Src/decadriver/deca_device_api.h b/Src/decadriver/deca_device_api.h index 88fb37d..22bb83c 100644 --- a/Src/decadriver/deca_device_api.h +++ b/Src/decadriver/deca_device_api.h @@ -67,17 +67,17 @@ #define MAX_RETRIES_FOR_PLL (6) #define MAX_RETRIES_FOR_PGF (3) -//DW1000 SLEEP and WAKEUP configuration parameters -#define DWT_PRESRV_SLEEP 0x0100 // PRES_SLEEP - on wakeup preserve sleep bit -#define DWT_LOADOPSET 0x0080 // ONW_L64P - on wakeup load operating parameter set for 64 PSR -#define DWT_CONFIG 0x0040 // ONW_LDC - on wakeup restore (load) the saved configurations (from AON array into HIF) -#define DWT_TANDV 0x0001 // ONW_RADC - on wakeup run ADC to sample temperature and voltage sensor values +////DW1000 SLEEP and WAKEUP configuration parameters +//#define DWT_PRESRV_SLEEP 0x0100 // PRES_SLEEP - on wakeup preserve sleep bit +//#define DWT_LOADOPSET 0x0080 // ONW_L64P - on wakeup load operating parameter set for 64 PSR +//#define DWT_CONFIG 0x0040 // ONW_LDC - on wakeup restore (load) the saved configurations (from AON array into HIF) +//#define DWT_TANDV 0x0001 // ONW_RADC - on wakeup run ADC to sample temperature and voltage sensor values -#define DWT_XTAL_EN 0x10 // keep XTAL running during sleep -#define DWT_WAKE_SLPCNT 0x8 // wake up after sleep count -#define DWT_WAKE_CS 0x4 // wake up on chip select -#define DWT_WAKE_WK 0x2 // wake up on WAKEUP PIN -#define DWT_SLP_EN 0x1 // enable sleep/deep sleep functionality +//#define DWT_XTAL_EN 0x10 // keep XTAL running during sleep +//#define DWT_WAKE_SLPCNT 0x8 // wake up after sleep count +//#define DWT_WAKE_CS 0x4 // wake up on chip select +//#define DWT_WAKE_WK 0x2 // wake up on WAKEUP PIN +//#define DWT_SLP_EN 0x1 // enable sleep/deep sleep functionality typedef enum { AOA, -- Gitblit v1.9.3