Files
BA_DIY_Power_PCB/main/include/ADC.h
der_zaske 14191cbef9 reworeked some stuff in ADC.c
added geter for comparators of mcpwm.c for ADC synchromisation
2025-01-31 21:04:56 +01:00

12 lines
227 B
C

#ifndef GPIO_H
#define GPIO_H
#include "esp_adc/adc_oneshot.h"
void configure_ADC1();
uint32_t get_voltage_in();
uint32_t get_torque();
int32_t get_current_ASC712(int ADC_pin);
int32_t get_current_bridge(int ADC_pin);
#endif