7.2.8.6
Switch Press Detection Processing Function
Switch press detection processing is executed. (av_demoapp_sw_detect)
Play/stop switch, selection next switch, selection previous switch press detection is
executed.
Loop counter < Number of SW
Get switch state.
No current switch press
and switch status pressed
Current switch pressed
and switch status not pressed
Set not pressed for current
switch press status.
Set detection for current
switch detection status.
Increment loop counter.
Figure 66 Switch Press Detection Processing Function Flow
Start
Loop counter <-0
buttons
Yes
(SW_GetStatus)
No
Yes
Finish
No
Yes
No
Set pressed for current
switch press status.
91
AN706-00040-2v0-E