SimpleFOClibrary
2.1
current_sense/hardware_api.h
Go to the documentation of this file.
1
#ifndef HARDWARE_UTILS_H
2
#define HARDWARE_UTILS_H
3
4
#include "../common/foc_utils.h"
5
#include "../common/time_utils.h"
6
12
float
_readADCVoltage
(
const
int
pinA);
13
21
void
_configureADC
(
const
int
pinA,
const
int
pinB,
const
int
pinC =
NOT_SET
);
22
23
#endif
NOT_SET
#define NOT_SET
Definition:
foc_utils.h:27
_configureADC
void _configureADC(const int pinA, const int pinB, const int pinC=NOT_SET)
Definition:
current_sense/hardware_specific/generic_mcu.cpp:43
_readADCVoltage
float _readADCVoltage(const int pinA)
Definition:
current_sense/hardware_specific/generic_mcu.cpp:36
Arduino
libraries
Arduino-FOC
src
current_sense
hardware_api.h
Generated by
1.8.18