21-23
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
Pause & Release Pause
Figure 21.4.15.4 shows Sound Pause-Release Pause Flow.
Figure 21.4.15.4 Sound PAUSE-Release PAUSE Flow
“P
aus
e”
co
m
m
and
check STATE_x = "sp_state_pause", if necessary
Set Sound Play COMMAND
-
COMMAND_x:
“
PAUSE_xxx
”
in Sound Play Function Registers(See Table 21.4.14.1)
Set HWPCMDTRG.HWP0TRG
Cortex Set HW Processor
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
Wait STATE_x = "sp_state_play"
Wait STATUS.READY = sp_status_ready
“Rel
eas
e
Paus
e”
co
m
m
and
check STATE_x = "sp_state_play", if necessary
Set Sound Play COMMAND
-
COMMAND_x:
“
Release_PAUSE
”
in Sound Play Function Registers(See Table 21.4.14.1)
Set HWPCMDTRG.HWP0TRG
Cortex Set HW Processor
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
Wait STATE_x = "sp_state_pause"
Wait STATUS.READY = sp_status_ready
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...