Ccpu_Entrywinresetfunc - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

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

Advertisement

CCPU_EntryWinResetFunc

Registers a routine to be called before the Windows forced-restart function of the individual reset function is executed.
Format
short CCPU_EntryWinResetFunc(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 Windows forced-restart function of the individual reset function 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 Windows part forced restart request
event is reported.
• After the registered routine ends, the Windows part forced restart start event is reported, and the Windows part forced
restart is started.
• 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 32 CCPU_EntryShutdownFunc
3 DETAILS OF FUNCTIONS
36
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