Ccpu_Entryshutdownfunc - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

CCPU_EntryShutdownFunc

Registers a routine to be called before the shutdown function of a MELIPC is executed.
Format
short CCPU_EntryShutdownFunc(CCPU_FUNCPTR pFuncPtr)
Argument
Argument
*1
pFuncPtr
*1 The data type is defined as a void type in the include file "CCPUFunc.h".
Description
• Registers a routine to be called before the shutdown function of a MELIPC is executed.
• When this function is executed several times, the last registered routine will be in effect.
• Before the registered routine is executed, the WIN RDY LED starts flashing, and the MELIPC shutdown request event is
reported.
• After the registered routine ends, the MELIPC shutdown start request event is reported, and the shutdown process of the
Windows part starts.
• The registered routine operates on the task that operates the shutdown process of the MELIPC. The settings of the tasks to
be run by the registered routine are as follows.
Priority: 50
Stack size: 4096 bytes are available for the registered routine
Task option: VX_FP_TASK
Precautions
Do not register routines to run the following functions.
• CCPU_MELIPCShutdown
• CCPU_WinReset
Return value
Return value
0(0000H)
Relevant function
Page 36 CCPU_EntryWinResetFunc
3 DETAILS OF FUNCTIONS
32
3.1 C Controller Module Dedicated Functions
Name
Registered routine
Description
Normal
Description
Specify a routine to be registered.
(The routine is deregistered by specifying NULL.)
IN/OUT
IN

Advertisement

Table of Contents
loading

Table of Contents