From 755f0e3a86e41e9e3cb98f36578b3199c6206e59 Mon Sep 17 00:00:00 2001 From: zhangbo <zhangbo@qq.com> Date: 星期三, 23 四月 2025 11:14:46 +0800 Subject: [PATCH] 蓝牙现在通过PCA9555关闭使能,反初始化串口,拉低PCA中断脚,现在是0.8v --- keil/include/drivers/mk_calib.h | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/keil/include/drivers/mk_calib.h b/keil/include/drivers/mk_calib.h index e6c06f7..9f985fa 100644 --- a/keil/include/drivers/mk_calib.h +++ b/keil/include/drivers/mk_calib.h @@ -100,13 +100,21 @@ void calib_chip(void); /** - * @brief Tuning load cap automatically based on frequency offset, this function should be called repeatedly. + * @brief Tuning X38M4 load cap automatically based on frequency offset, this function should be called repeatedly. * * @param[in] ppm Frequency offset */ void calib_xtal38m4_load_cap_auto_tune(int32_t ppm); /** + * @brief Tuning X38M4 load cap automatically based on frequency offset, this function should be called repeatedly. + * + * @param[in] ppm Frequency offset, this value should be based on center frequency, unit is 0.01 ppm + * @param[in] calib_load_cap calibrated load cap value + */ +void calib_xtal38m4_load_cap_auto_tune_to_center(int32_t ppm, uint8_t calib_load_cap); + +/** * @brief Set XTAL 38.4MHz load cap. * * @param[in] val Load cap value to be set -- Gitblit v1.9.3