Pin class to provide a analog input signal. More...
#include <adcpin.h>
Public Member Functions | |
void | setAnalogValue (int value) throw () |
Set the analog value and propagte through Net. |
Pin class to provide a analog input signal.
This class allows the analog simulator access to the analogValue field of the pin and causes the Net to update (CalcNet). Note there is no dependency on the UserInterface class.
Definition at line 36 of file adcpin.h.
void AdcAnalogPin::setAnalogValue | ( | int | value | ) | throw () [inline] |
Set the analog value and propagte through Net.
Definition at line 40 of file adcpin.h.
References Pin::analogValue, Net::CalcNet(), and Pin::connectedTo.
Referenced by AdcPin::Step().