#include <piccomponentpin.h>
Inheritance diagram for PICComponentPin:


Public Member Functions | |
| PICComponentPin (PICComponent *picComponent, PicPin picPin) | |
| ~PICComponentPin () | |
| void | attach (IOPIN *iopin) |
| virtual void | set_nodeVoltage (double v) |
| void | logicCallback (bool state) |
| void | resetOutput () |
| virtual double | get_Vth () |
Protected Attributes | |
| double | m_gOutHigh |
| double | m_gOutLow |
| PicPin | m_picPin |
| IOPIN * | m_pIOPIN |
| LogicOut * | m_pLogicOut |
| LogicIn * | m_pLogicIn |
| PICComponent * | m_pPICComponent |
| Stimulus_Node * | m_pStimulusNode |
| const QString | m_id |
Definition at line 26 of file piccomponentpin.h.
| void PICComponentPin::attach | ( | IOPIN * | iopin | ) |
Attach this to gpsim
Definition at line 76 of file piccomponentpin.cpp.
References LogicIn::isHigh(), logicCallback(), m_id, m_pIOPIN, m_pLogicIn, m_pLogicOut, and m_pStimulusNode.
| void PICComponentPin::set_nodeVoltage | ( | double | v | ) | [virtual] |
Called when the IOPIN this class is associated with changes state. Updates the associated LogicOut / LogicIn / etc according to what type of pin this is.
Definition at line 119 of file piccomponentpin.cpp.
References m_gOutHigh, m_gOutLow, m_pIOPIN, m_pLogicOut, LogicOut::setHigh(), LogicOut::setOutputHighConductance(), and LogicOut::setOutputLowConductance().
| void PICComponentPin::logicCallback | ( | bool | state | ) |
Called from our logic pin when the logic changes state.
Definition at line 139 of file piccomponentpin.cpp.
References m_pIOPIN, and m_pStimulusNode.
Referenced by attach(), and PICComponentPin().
| void PICComponentPin::resetOutput | ( | ) |
Sets the output (if has one) to low. Called when the user stops the PIC.
Definition at line 160 of file piccomponentpin.cpp.
References m_pLogicOut, and LogicOut::setHigh().
1.5.1