7.2.4.3
LED Control API
Function
void LED_Init (void)
Overview
LED control processing initialization function
Invoked before entering the main loop (see "7.2.8.1 Main Processing
Function").
Parameter None
Return
None
value
Function
STATUS LED_Set(uint16_t IdCh, uint8_t LEDStatus)
Overview
LED control processing function
Turns specified LED on or off.
Parameter IdCh
LEDStatus
is 1)
Return
Processing results
value
LED_RET_OK
LED_RET_INVALID_PARAMETER Parameter error
LED_RET_ILLEGAL_ERROR
Control target LED (defined by bit)
bit0
LED1
bit1
LED2
bit2
LED3
bit3
LED4
bit4
LED5
bit5
LED6
bit6
LED7
bit7
LED8
LED on/off control (corresponding bit=0: off, on when it
bit0
LED1
bit1
LED2
bit2
LED3
bit3
LED4
bit4
LED5
bit5
LED6
bit6
LED7
bit7
LED8
Normal completion
If invoked without being initialized
59
AN706-00040-2v0-E