7.2.8 Operation Flow
The meanings of the function call points in the flowchart are shown in Figure 56.
Function call described
in API specifications
7.2.8.1
Main Processing Function
The flowchart of the main processing function (main) is shown in Figure 57.
System activation setting
(mb9b500_system_boot)
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)
Sample application variable
initialization
(av_demoapp_init)
Timer ch. 2 activation
(TIMER_Start)
(*) Human Machine Interface
Function call described
in operation flowchart
Figure 56 Meanings of function call points
Start
Figure 57 Main Processing Function Flow
82
Function call described
in API specifications and
operation flowchart
USB host driver initialization
(USBH_Initialize)
MP3 format
IMAGE module initialization
(IMAGE_Init)
Interrupt enable
while(1)
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)
AN706-00040-2v0-E