21-20
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
21.4.15.
Sound Flow Example
Standard Play(1 sentence and finish)
Figure 21.4.15.1 shows Sound PLAY-FINISH Flow.
Figure 21.4.15.1 Sound PLAY-FINISH Flow
So
und
C
om
pl
et
io
n
Check STATE_x = "sp_state_idle"
“
So
und
St
ar
t”
co
m
m
and
Set HWPCMDTRG.HWP0TRG
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_x = "sp_state_play", if necessary
Cortex Set HW Processor
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
Wait HWPINTF.HWP0IF = 1
HW Processor interrupts to cortex
Wait STATE_x = "sp_state_idle"
Wait STATUS.READY = sp_status_ready
Содержание S1C31D50
Страница 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Страница 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Страница 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Страница 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...