From 2c162b948f68bde8d17cb5e86d18a8972b5661f2 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期二, 22 七月 2025 18:18:05 +0800 Subject: [PATCH] 修改传aoa信息逻辑为读取指令发送时并且为自身id才给,取消发送区域显示逻辑,将信号质量改为角度置信度 --- keil/include/drivers/mk_sleep_timer.h | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/keil/include/drivers/mk_sleep_timer.h b/keil/include/drivers/mk_sleep_timer.h index 077cfe1..8b62086 100644 --- a/keil/include/drivers/mk_sleep_timer.h +++ b/keil/include/drivers/mk_sleep_timer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2023 Beijing Hanwei Innovation Technology Ltd. Co. and + * Copyright (c) 2019-2025 Beijing Hanwei Innovation Technology Ltd. Co. and * its subsidiaries and affiliates (collectly called MKSEMI). * * All rights reserved. @@ -57,8 +57,9 @@ struct SLEEP_TIMER_HANDLE_T { enum SLEEP_TIMER_MODE_T mode; + uint16_t enable; + uint16_t int_en; uint32_t time; - uint32_t int_en; int32_t ppm; drv_callback_t callback; }; @@ -67,13 +68,15 @@ extern "C" { #endif +extern struct SLEEP_TIMER_HANDLE_T sleep_timer_handle; + void sleep_timer_open(bool int_en, enum SLEEP_TIMER_MODE_T mode, drv_callback_t callback); void sleep_timer_close(void); void sleep_timer_start(uint32_t time); void sleep_timer_stop(void); -uint32_t high_xtal_off_time(void); +uint32_t xtal_38m4_off_time(void); void sleep_timer_ppm_set(int32_t ppm); int32_t sleep_timer_ppm_get(void); -- Gitblit v1.9.3