#include <UVSOCK.h>
Data Fields | |
| UINT | m_nTotalLen |
| Total message length (bytes). | |
| UV_OPERATION | m_eCmd |
| Command code. | |
| UINT | m_nBufLen |
| Length of Data Section (bytes). | |
| xU64 | cycles |
| Cycle value (Simulation mode only). | |
| double | tStamp |
| time-stamp (Simulation mode only) | |
| UINT | m_Id |
| Reserved. | |
| UVSOCK_CMD_DATA | data |
| Data Section (Command code dependent data). | |
Every UVSOCK message has this format. Each message contains a 32-byte header, and a variable length data section. The total length of the message must not exceed SOCK_NDATA bytes.
Header Section
m_nTotalLen represents the total length of the message in bytes. m_eCmd is the command code and represents the operation the message should perform. The Data Section format is dependent on the value of m_eCmd. m_nBufLen represents the length of the Data Section in bytes. cycles and tStamp represent the current execution time of the simulation at the point the message was sent. These values are only valid for response messages, and only when code is being debugged in the simulator. m_Id is reserved and is always 0.
Data Section
data contains the message data. It's format is dependent on m_eCmd and is described in UVSOCK_CMD_DATA.
Copyright (c) KEIL - An ARM Company.
All rights reserved.
Visit our web site at www.keil.com.
Generated with doxygen.