User Manual
Table Of Contents
- Revision History
- Table of Contents
- Target products
- 1 INTRODUCTION
- 2 OVERVIEW OF SIMPLE AV SYSTEM BOARD
- 3 PREPARATIONS
- 4 PROGRAM EXECUTION METHOD
- 5 SUPPORTED MEDIA
- 6 OPERATION METHOD
- 7 SPECIFICATIONS
- 7.1 Hardware
- 7.2 Software
- 7.2.1 Software Block Diagram
- 7.2.2 Software Library
- 7.2.3 System Specifications
- 7.2.4 API Specifications
- 7.2.5 Operation Limit
- 7.2.6 Operation Flow of Entire Application
- 7.2.7 Application State Transition
- 7.2.8 Operation Flow
- 7.2.8.1 Main Processing Function
- 7.2.8.2 USB Task Processing Function
- 7.2.8.3 File System (MDF) Task Processing Function
- 7.2.8.4 HMI Task Processing Function
- 7.2.8.5 AUDIO Play Task Processing Function
- 7.2.8.6 Switch Press Detection Processing Function
- 7.2.8.7 Processing Function After Switch Press Detection
- 7.2.8.8 Touch Panel Touch Detection Processing Function
- 7.2.8.9 Processing After Touch Panel Touch Detection Function
- 7.2.9 File Configuration
AN706-00040-2v0-E
59
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
value
None
Function
STATUS LED_Set(uint16_t IdCh, uint8_t LEDStatus)
Overview
LED control processing function
Turns specified LED on or off.
Parameter
IdCh Control target LED (defined by bit)
bit0 LED1
bit1 LED2
bit2 LED3
bit3 LED4
bit4 LED5
bit5 LED6
bit6 LED7
bit7 LED8
LEDStatus LED on/off control (corresponding bit=0: off, on when it
is 1)
bit0 LED1
bit1 LED2
bit2 LED3
bit3 LED4
bit4 LED5
bit5 LED6
bit6 LED7
bit7 LED8
Return
value
Processing results
LED_RET_OK Normal completion
LED_RET_INVALID_PARAMETER Parameter error
LED_RET_ILLEGAL_ERROR If invoked without being initialized