Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 93

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

Advertisement

CCPU_SetDevice_ISR
Sets internal user devices and internal system devices (bit devices) of a MELIPC.
Format
short CCPU_SetDevice_ISR(short sDevType, unsigned long ulDevNo)
Argument
Argument
Name
sDevType
Device type
ulDevNo
Device number
Description
Sets (turns ON) the bit device of the MELIPC specified to the device type (sDevType) and the device number (ulDevNo).
Do not execute this function in a routine other than an interrupt routine.
Warning
• If any function to which an invalid argument is specified is executed, an error such as hardware failure (3C02H) may occur
on the MELIPC.
• This function does not check the specified arguments.
Pay attention to the following points when creating a program.
Do not specify a device outside of the range.
Return value
Return value
0(0000H)
Relevant function
Page 90 CCPU_ResetDevice_ISR
Description
Specify the device type.
Page 8 Device type
Specify a device number.
Description
Normal
3 DETAILS OF FUNCTIONS
3.2 C Controller Module Dedicated Functions (for ISR)
3
IN/OUT
IN
IN
91

Advertisement

Table of Contents
loading

Table of Contents