6 operation flow of entire application, 1 mp3, Operation flow of entire application – FUJITSU FMB AN706 User Manual

Page 66

Advertising
background image

AN706-00040-2v0-E

65

7.2.6 Operation Flow of Entire Application

7.2.6.1 MP3

(1) The application operation flow with audio data playback stopped is as follows.

① USB MSC device connection/disconnection judgment is executed in the main

loop.

② If a USB memory is connected, after reading the JPEG files from the USB

memory and displaying the images for selection, switch pressing detection and

touch panel detection are conducted.

③ If the play/stop switch is detected to be pressed down, or if not detected, but an

area of the touch panel is detected to have been touched, the JPEG files

corresponding to the selected MP3 file are read from the USB memory and

displayed for playback. If the selection previous switch or selection next switch

are detected to have been pressed down, MP3 file selection is shifted and LED

control is executed.

④ The MP3 selected from the USB memory is then opened.

⑤ The MP3 file header is read, MP3 file header analysis processing is conducted

and operation shifts to audio data playback in progress status.

This operation is shown in Figure 48.

Advertising