21-24
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
2ch Mixing Play(separate start)
Figure 21.4.15.5 shows Sound PAUSE-Release PAUSE Flow.
Figure 21.4.15.5 Sound PAUSE-Release PAUSE Flow
“
So
und
St
ar
t”
co
m
m
and
Set HWPCMDTRG.HWP0TRG
Wait STATE_CH1 = "sp_state_idle"
Set
“
Sound Start
”
command
-
COMMAND_x: "
Sound Start
"
-
SENTENCE_x,
-
VOLUME_x,
-
REPEAT_x
in Sound Function Register(See Table 21.4.14.1)
Check STATE_CH1 = "sp_state_play", if necessary
Cortex Set HW Processor
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
“
So
und
St
ar
t”
co
m
m
and
Set HWPCMDTRG.HWP0TRG
Wait STATE_CH0 = "sp_state_idle"
Set
“
Sound Start
”
command
-
COMMAND_x: "
Sound Start
"
-
SENTENCE_x,
-
VOLUME_x,
-
REPEAT_x
-
SPEED_0(only CH0)
in Sound Function Register(See Table 21.4.14.1)
Check STATE_CH0 = "sp_state_play", if necessary
Cortex Set HW Processor
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
So
und
C
om
pl
et
io
n
Check STATE_CH0 = "sp_state_idle"
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
So
und
C
om
pl
et
io
n
Check STATE_CH1 = "sp_state_idle"
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
Hello,
・・・・
+
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 ...