IPC pipes layer (IPC_PIPE)¶
The Pipe functions provide a method to transfer one or more words of data between CPUs or tasks.
Include cy_ipc_pipe.h. Alternatively include cy_pdl.h to get access to all functions and declarations in the PDL.
The data can be defined as a single 32-bit unsigned word, an array of data, or a user-defined structure. The only limitation is that the first word in the array or structure must be a 32-bit unsigned word in which a client ID number is passed. The client ID dictates the callback function that will be called by the receiver of the message. After the callback function returns by the receiver, it will invoke a release callback function defined by the sender of the message.
A User Pipe is provided for the user to transfer data between CPUs and tasks.