NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
A HostSink receives data over a serial bus, buffers them and outputs the buffer later via printf. More...
Public Member Functions | |
bool | receive (MessageSerial &msg) |
HostSink (unsigned hdev, unsigned size, unsigned head_char, unsigned cont_char) | |
Public Member Functions inherited from StaticReceiver< HostSink > | |
StaticReceiver () | |
Public Member Functions inherited from Device | |
void | debug_dump () |
Device (const char *debug_name) |
Private Attributes | |
unsigned | _hdev |
unsigned | _size |
unsigned | _count |
bool | _overflow |
unsigned | _head_char |
unsigned | _cont_char |
unsigned char * | _buffer |
Additional Inherited Members | |
Static Public Member Functions inherited from StaticReceiver< HostSink > | |
static bool | receive_static (Device *o, M &msg) |
A HostSink receives data over a serial bus, buffers them and outputs the buffer later via printf.
State: stable Features: printf output, buffering, overflow indication
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |