Fujitsu FM3 family User Manual page 67

32-bit microcontroller fm3 family application note simple av system board
Table of Contents

Advertisement

Media files
select.jpg
picture1.jpg
picture2.jpg
JPEG
File
picture3.jpg
picture4.jpg
picture5.jpg
music1.mp3
music2.mp3
music3.mp3
music4.mp3
music5.mp3
MP3
header
MP3
header
Figure 48 Application Operation Flow (Audio Playback Stopped Status, Case of MP3)
USB-MSC device connection/
disconnection judgement
No
Was media connected?
Yes
Read all JPEG files and display
images for selection on LCD
Switch press detection
Was the Play/Stop
switch pressed?
Yes
Read JPEG files corresponding to
selected MP3 file numbers and
display image for playing on LCD
Open selected MP3 file
Read selected MP3 header data
and execute MP3 header analysis
processing
Change to audio data
playback state
Touch panel detection
No
Was touch of
touch panel detected?
Yes
Was the detected area
1-4, or 6?
Yes
Select MP3, LED control
Read JPEG files corresponding to
selected MP3 file numbers and
display image for playing on LCD
Open selected MP3 file
Read selected MP3 header data
and execute MP3 header analysis
processing
Change to audio data
playback state
66
AN706-00040-2v0-E
Timer interrupt(ch.2)(1ms)
Switch detection module
Selection
Play/Stop
previous
switch
switch
Switch
state
No
LED control driver module
LED1 LED2 LED3 LED4 LED5
Was the
Selection previous
switch or Selection next
switch pressed?
Yes
Select MP3, LED control
Touch panel
state
Timer interrupt(ch.2)(1ms)
Touch panel control
driver module
No
Area 1 Area 2 Area 3
LED state
Area 4 Area 5 Area 6
Area 7 Area 8 Area 9
Switch chattering
processing
Selection
next switch
No
LED
state

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents