Aac - Fujitsu FM3 family User Manual

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

Advertisement

7.2.6.2

AAC

(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 the USB memory is connected, switch press-down detection is executed.
③ If the play/stop switch is detected to have been pressed down, the AAC file
selected from the USB memory is opened. If the selection previous switch or
selection next switch are detected to have been pressed down, AAC selection is
shifted and LED control is executed.
④ The AAC file header is read, AA file header analysis processing is conducted and
operation shifts to audio data playback status.
This operation is shown in Figure 50.
Media files
music1.aac
music2.aac
music3.aac
AAC
music4.aac
header
music5.aac
Figure 50 Application Operation Flow (Audio Playback Stopped Status, Case of AAC)
USB-MSC device connection/
disconnection judgement
No
Was media connected?
Yes
Switch press detection
Was the Play/Stop
switch pressed?
Yes
Open selected AAC file
Read selected AAC header data
and execute AAC header
analysis processing
Change to audio data
playback state
Switch detection module
Play/Stop
switch
Switch
state
LED control driver module
No
LED1 LED2 LED3 LED4 LED5
Was the
Selection
previous switch or
Selection next switch
pressed?
Yes
Select AAC, LED control
69
AN706-00040-2v0-E
Timer interrupt(ch.2)(1ms)
Switch chattering
processing
Selection
Selection
previous
next switch
switch
No
LED state

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents