Teledyne-lecroy UWBTracer Verification Script Engine Manual Manual de usuario Pagina 39

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 95
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 38
LeCroy Corporation Verification Script Engine Manual, version 2.2
9.14 SendSerialData()
This function specifies more precise tuning for Serial Data events. Only selected Serial Data are sent.
Format: SendSerialData (direction, register, value)
Parameters:
direction This parameter specifies Serial Data direction.
This parameter can have one of the following values:
Direction Meaning
_READ Serial Data Read
_WRITE Serial Data Write
_ANY Any direction
register This list parameter specifies PHY register.
value This list parameter specifies PHY value.
Note: You can use constant _ANY as a parameter value to specify that any value is acceptable.
If some of the parameters are missing, it is assumed that they are equal to _ANY.
If there is no parameter at all, all Serial Data events are sent, which is the same as
SendTraceEvent(_SERIAL_DATA))
Example:
# Send only READ Serial Data events (with any register and value).
SendSerialData(_READ);
# Send only WRITE Serial Data events, with register = 0 and any value.
SendSerialData(_WRITE, 0);
# Send only WRITE Serial Data events, with register = 0 and value = 0x15.
SendSerialData(_WRITE, 0, 0x15);
# Send Serial Data events, with any register and value = 0x15.
SendSerialData(_ANY, _ANY, 0x15);
# Send all Serial Data events.
SendSerialData();
Page 39 of 95
Vista de pagina 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 94 95

Comentarios a estos manuales

Sin comentarios