3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
77
3
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
The specification method of the LED status information (usLedInfo) is as follows:
■ 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
Argument Name Description IN/OUT
lLed Target LED Unused (Even if a value is specified, the operation is not affected.) IN
usLedInfo LED status information Specify the LED status information. IN
Stored information LED status
0OFF
1ON (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)
Return value Description
0 (0000H) Normal