Zero-fills a CPI packet to be used as a TX SWI request message and sets all addressing information.
void txswiAddress ( CPIPKT *pkt, U32 req_size, U16 board, U16 host_chan)
Argument |
Description |
pkt |
Pointer to the CPI packet (of req_size) to be formatted into a TX SWI request message. |
req_size |
Size of the CPI packet. |
board |
Destination board number. |
host_chan |
Source CPI channel number. |
Call txswiAddress after determining the required size of the TX SWI request message to be passed to the TX board. All other TX SWI functions except txswiReply return the required request packet size when a NULL CPI packet pointer is provided.
Refer to Sending and receiving requests for more information.