CITL_SetLEDStatus_ISR
This function sets the LED status of a C intelligent function module.
■ Format
short CITL_SetLEDStatus_ISR (long lLed, unsigned short usLedInfo)
■ Argument
Argument
Name
lLed
Target LED
usLedInfo
LED status information
The specification method of the LED status information (usLedInfo) is as follows:
Stored information
LED status
0
OFF
1
ON (Red)
2
Flashing at low speed (Red)
3
Flashing at high speed (Red)
4
ON (Green)
5
Flashing at low speed (Green)
6
Flashing at high speed (Green)
■ Description
This function controls the USER LED of the C intelligent function module to the status specified by the LED status information
(usLedInfo).
Do not execute CITL_SetLEDStatus_ISR function in a routine other than the one registered in the interrupt.
■ Return value
Return value
Description
0 (0000H)
Normal
Description
Unused (Even if a value is specified, the operation is not affected.)
Specify the LED status information.
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
IN
IN
3 DETAILS OF FUNCTION
3
77