Switch Press Detection Processing Function - Fujitsu FM3 family User Manual

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

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents