PISO-CPM100(U) / PCM-CPM100 user manual (ver. 2.02) Dec/03/2012 ----------------- 115
4.5.80.
CPM100_InstallRemotePDOISR
Description:
This function allows the user to apply the RemotePDO IST (interrupt
service routine) of the CPM100. When the user puts his process into
this function, all the Remote PDO messages of the CPM100’s PDO
objects will trigger the IST. For example, the CPM100 has used
CPM100_InstallPDO_List to install a TxPDO object with the COB-ID
0x444 of the CPM100. If some one sends a Remote PDO message with
the COB-ID 0x444 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_InstallRemotePDOISR(
BYTE
BoardNo,
void
(*REMOTEPDOISR)( ))
Parameter:
BoardNo:
[input] CPM100 board number (0~7).
(*REMOTEPDOISR)( ):
[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_GetMasterRemotePDOEvent.