PISO-CPM100(U) / PCM-CPM100 user manual (ver. 2.02) Dec/03/2012 ----------------- 99
4.5.64.
CPM100_InstallEMCYISR
Description:
This function allows the user to apply the EMCY IST (interrupt service
thread). When the user puts his EMCY process into this function, all the
EMCY triggered by the slaves will go to the EMCY IST. If the EMCY of a
slave is happen, the CPM100 will go into the EMCY process to do some
security mechanism which follows the user’s EMCY process.
Syntax:
WORD
CPM100_InstallEMCYISR(
BYTE
BoardNo,
void
(*EMCYISR)( ))
Parameter:
BoardNo:
[input] CPM100 board number (0~7).
(*EMCYISR)( ):
[input] The pointer which points a function with format
“void XXX( )”. The XXX is the function name of the user’s
EMCY process. This process is usually applied with the
function CPM100_GetEMCYData.