Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 97

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

Advertisement

CCPU_SetLEDStatus_ISR
Sets the INFO LED status of a MELIPC.
Format
short CCPU_SetLEDStatus_ISR(long lLed, unsigned short usLedInfo)
Argument
Argument
Name
lLed
Target LED
usLedInfo
LED status information
The LED state information (usLedInfo) is specified as follows.
usLedInfo
0
1
2
3
4
5
6
Description
Controls the LED INFO of the MELIPC to the status specified for the LED status information (usLedInfo).
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.
Return value
Return value
0(0000H)
Relevant function
Page 66 CCPU_SetLEDStatus
Description
Specify a target LED.
(When 'Reserved' is specified, this function ends normally without
processing.)
• 0: INFO LED
• Others: Reserved
Specify the LED status information.
Description
Normal
Description
OFF
ON (Red)
Flashing at low speed (Red)
Flashing (Red)
ON (Green)
Flashing at low speed (Green)
Flashing (Green)
3.2 C Controller Module Dedicated Functions (for ISR)
IN/OUT
IN
IN
3 DETAILS OF FUNCTIONS
3
95

Advertisement

Table of Contents
loading

Table of Contents