simulavr
1.1.0
|
#include <serialrx.h>
Public Member Functions | |
SerialRx (UserInterface *_ui, const char *_name, const char *baseWindow) | |
virtual | ~SerialRx () |
virtual void | SetNewValueFromUi (const std::string &) |
![]() | |
void | SetBaudRate (SystemClockOffset baud) |
void | SetHexOutput (bool newValue) |
SerialRxBasic () | |
void | Reset () |
virtual Pin * | GetPin (const char *name) |
virtual | ~SerialRxBasic () |
virtual int | Step (bool &trueHwStep, SystemClockOffset *timeToNextStepIn_ns=0) |
Return nonzero if a breakpoint was hit. More... | |
![]() | |
virtual | ~SimulationMember () |
![]() | |
virtual | ~HasPinNotifyFunction () |
![]() | |
virtual | ~ExternalType () |
Protected Member Functions | |
virtual void | CharReceived (unsigned char c) |
![]() | |
void | PinStateHasChanged (Pin *) |
Protected Attributes | |
UserInterface * | ui |
std::string | name |
![]() | |
Pin | rx |
std::map< std::string, Pin * > | allPins |
unsigned long long | baudrate |
int | highCnt |
int | bitCnt |
int | maxBitCnt |
int | dataByte |
T_RxState | rxState |
bool | sendInHex |
Additional Inherited Members | |
![]() | |
enum | T_RxState { RX_WAIT_LOWEDGE, RX_READ_STARTBIT, RX_READ_DATABIT_START, RX_READ_DATABIT_FIRST, RX_READ_DATABIT_SECOND, RX_READ_DATABIT_THIRD } |
Reads bits from device pins, reconstructs UART bytes and sends them to UI.
Definition at line 85 of file serialrx.h.
SerialRx::SerialRx | ( | UserInterface * | _ui, |
const char * | _name, | ||
const char * | baseWindow | ||
) |
|
inlinevirtual |
Definition at line 93 of file serialrx.h.
|
protectedvirtual |
Implements SerialRxBasic.
|
virtual |
Implements ExternalType.
|
protected |
Definition at line 88 of file serialrx.h.
|
protected |
Definition at line 87 of file serialrx.h.