|
simulavr
1.1.0
|
#include <spisink.h>
Public Member Functions | |
| SpiSink (Net &ssNet, Net &sclkNet, Net &misoNet, bool clockIsIdleHigh=true, bool clockSampleOnLeadingEdge=true) throw () | |
Public Member Functions inherited from SimulationMember | |
| virtual | ~SimulationMember () |
Private Member Functions | |
| int | Step (bool &trueHwStep, SystemClockOffset *timeToNextStepIn_ns=0) |
| Return nonzero if a breakpoint was hit. More... | |
Private Attributes | |
| unsigned char | _port |
| Pin | _ss |
| Pin | _sclk |
| Pin | _miso |
| bool | _ssState |
| bool | _sclkState |
| bool | _misoState |
| unsigned | _state |
| unsigned char | _sr |
| bool | _clockIsIdleHigh |
| bool | _clockSampleOnLeadingEdge |
| bool | _prevClkState |
| bool | _prevSS |
| SpiSink::SpiSink | ( | Net & | ssNet, |
| Net & | sclkNet, | ||
| Net & | misoNet, | ||
| bool | clockIsIdleHigh = true, |
||
| bool | clockSampleOnLeadingEdge = true |
||
| ) | |||
| throw | ( | ||
| ) | |||
Definition at line 12 of file spisink.cpp.
References Pin::PULLUP.
|
privatevirtual |
Return nonzero if a breakpoint was hit.
Implements SimulationMember.
Definition at line 42 of file spisink.cpp.