Files
Motor_v2/Robot_V2/device/adc.h
T
2025-09-23 00:27:51 +08:00

22 lines
303 B
C

#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