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
82
7.2.8 Operation Flow
The meanings of the function call points in the flowchart are shown in Figure 56.
Function call described
in operation flowchart
Function call described
in API specifications
Function call described
in API specifications and
operation flowchart
Figure 56 Meanings of function call points
7.2.8.1 Main Processing Function
The flowchart of the main processing function (main) is shown in Figure 57.
MP3 format
Start
System activation setting
(mb9b500_system_boot)
Sample application variable
initialization
(av_demoapp_init)
USB host driver initialization
(USBH_Initialize)
Interrupt enable
while(1)
Timer module initialization
(TIMER_Init)
LED module initialization
(LED_Init)
Audio module initialization
(AUDIO_Init)
Switch module initialization
(SW_Init)
Touch panel module
initialization
(TOUCH_Init)
Timer ch. 2 activation
(TIMER_Start)
IMAGE module initialization
(IMAGE_Init)
USB task processing
(av_demoapp_usb_task)
MDF file system task
processing
(av_demoapp_MDF_task)
HMI (*) task processing
(av_demoapp_HMI_task)
Audio play task processing
(AUDIO_PlayTask)
Figure 57 Main Processing Function Flow
(*) Human Machine Interface