Download Print this page

Epson S1C31D50 Technical Instructions page 348

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

Advertisement

21.4.7. Sound Stop Command
"Sound Stop" command can be set under "sp_state_play", "sp_state_mute" and "sp_state_pause" state.
By "Sound Stop" command, the state is moved to "sp_state_idle" after stop.
Following Stop mode is supported.
Sound Stop immediately
After getting "Sound Stop immediately" command, the playing stops immediately.
Even stopping at big sample value, smooth function avoids the noise.
Figure 21.4.7.1 shows smooth function after "Sound Stop immediately" command.
"Stop immediately" command
Figure 21.4.7.1 Smooth Function after "Sound Stop immediately" Command
Sound Stop after current phrase
After getting "Sound Stop after current phrases" command, the playing stops after finishing a current
phrase.
Figure 21.4.7.2 shows the stop timing after "Sound Stop after current phrase" command
Sentence
"Stop after current phrase" command
Figure 21.4.7.2 Stop Timing after "Sound Stop after current phrase" Command
Figure 21.4.7.3 shows "Sound Stop" command flow.
Set "Sound Stop" COMMAND
in Sound Play Function Registers(See Table 21.4.14.1)
Cortex Set HW Processor
21-10
Smooth function
"The temperature is set at / 41 degree".
Phrase 0
Stop here
The output sound is "the temperature is set at"
Wait STATE_x = "sp_state_play"
Wait STATUS.READY = sp_status_ready
-
COMMAND_x: "STOP_xxx"
Set HWPCMDTRG.HWP0TRG
Wait HWPINTF.HWP0IF = 1
Check STATE_x = "sp_state_idle"
Figure 21.4.7.3 "Sound Stop" Command Flow.
Seiko Epson Corporation
Phrase1
HW Processor interrupts to cortex
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)

Advertisement

loading