rusEFI
The most advanced open source ECU
|
#include <dac.h>
Public Member Functions | |
Dac (DACDriver &driver) | |
void | Start (DACConfig &config) |
void | SetVoltage (int channel, float volage) |
float | GetLastVoltage (int channel) |
Private Attributes | |
DACDriver *const | m_driver |
float | m_voltageFloat [2] |
Dac::Dac | ( | DACDriver & | driver | ) |
void Dac::SetVoltage | ( | int | channel, |
float | volage | ||
) |
Definition at line 23 of file dac.cpp.
Referenced by setDacVoltage().
void Dac::Start | ( | DACConfig & | config | ) |
|
private |
Definition at line 21 of file dac.h.
Referenced by SetVoltage(), and Start().
|
private |
Definition at line 22 of file dac.h.
Referenced by GetLastVoltage(), and SetVoltage().