PISO-CPM100(U) / PCM-CPM100 user manual (ver. 2.02) Dec/03/2012 ----------------- 113
4.5.78.
CPM100_InstallRxPDOISR
Description:
This function allows the user to apply the RxPDO IST (interrupt
service routine) of the CPM100. When the user puts his process into
this function, all the RxPDO messages with the CPM100’s PDO objects
will trigger the IST. For example, the CPM100 has used
CPM100_InstallPDO_List to install a PDO object with the COB-ID
0x333 of the CPM100. If some one sends a PDO message with the
COB-ID 0x333 to the CPM100, the CPM100 will go into the IST if the
user had installed it.
Note: The function will usefully when the Node parameter of the
function CPM100_InitMaster is > 0.
Syntax:
WORD
CPM100_InstallRxPDOISR(
BYTE
BoardNo,
void
(*RXPDOISR)( ))
Parameter:
BoardNo:
[input] CPM100 board number (0~7).
(*RXPDOISR)( ):
[input] The pointer which points a function with format
“void XXX( )”. The XXX is the function name of user’s process.
This process is usually used with the function
CPM100_GetMasterRxPDOEvent.