Download Print this page

Epson S1C31D50 Technical Instructions page 358

Cmos 32-bit single chip microcontroller
Hide thumbs Also See for S1C31D50:

Advertisement

21.4.15.
Sound Flow Example
Standard Play(1 sentence and finish)
Figure 21.4.15.1 shows Sound PLAY-FINISH Flow.
Cortex Set HW Processor
21-20
Wait STATE_x = "sp_state_idle"
Wait STATUS.READY = sp_status_ready
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)
Set HWPCMDTRG.HWP0TRG
Wait HWPINTF.HWP0IF = 1
Check STATE_x = "sp_state_play", if necessary
Wait HWPINTF.HWP0IF = 1
Check STATE_x = "sp_state_idle"
Figure 21.4.15.1 Sound PLAY-FINISH Flow
Seiko Epson Corporation
HW Processor interrupts to cortex
HW Processor interrupts to cortex
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)

Advertisement

loading