Programmer Interface: Data¶
The Device Emulation Module only generates one type of event packet: DEM-UART Data Packet
DEM-UART Data Packet¶
A DEM-UART Data packet contains one 8-bit character, that has been sent to a UART interface by a CPU, as the only payload.
All packets of this type are sent to the DI Address MOD_EVENT_DEST
.
The following fields in the header of the DI packet are set:
FLAGS.TYPE
is set toEVENT
FLAGS.TYPE_SUB
is set to0x00
The resulting Debug Interconnect packet has the following structure.
Word | Field | Description |
---|---|---|
1 | CHARACTER |
Contains the character that is being sent, the MSB is always 0x00 |