#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