初始化

This commit is contained in:
cbb
2025-09-23 00:27:51 +08:00
commit f2ae2669fa
75 changed files with 32841 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef _ADC_H
#define _ADC_H
#ifdef __cplusplus
extern "C" {
#endif
#include "stdint.h"
const u16 adc_value[7] = {0}; // 显式初始化数组元素为0
float get_mcu_temp(void);
float get_drv_temp(void);
float get_vbus_voltage(void);
float get_current(char);
#ifdef __cplusplus
}
#endif
#endif