Visible to Intel only — GUID: mwh1409959390729
Ixiasoft
Visible to Intel only — GUID: mwh1409959390729
Ixiasoft
6.4.4.13. data_source_send_data()
Information Type | Description |
---|---|
Prototype |
int data_source_send_data(alt_u32 cmd_base, alt_u16 channel, alt_u16 size, alt_u32 flags, alt_u16 error, alt_u8 data_error_mask); |
Thread-safe |
No |
Include |
< data_source_util.h > |
Parameters |
cmd_base—Base address of the command agent. channel—Channel to send the data. size—Data size. flags —Specifies whether to send or suppress SOP and EOP signals. Valid values are DATA_SOURCE_SEND_SOP, DATA_SOURCE_SEND_EOP, DATA_SOURCE_SEND_SUPRESS_SOP and DATA_SOURCE_SEND_SUPRESS_EOP. error—Value asserted on the error signal on the output interface. data_error_mask—Parameter and the data are XORed together to produce erroneous data. |
Returns |
Returns 1. |
Description |
Sends a data fragment to the specified channel. If data packets are supported, applications must ensure consistent usage of SOP and EOP in each channel. Except for the last segment in a packet, the length of each segment is a multiple of the data width. If data packets are not supported, applications must ensure that there are no SOP and EOP indicators in the data. The length of each segment in a packet is a multiple of the data width. |