Download Print this page

Epson S1C31D50 Technical Instructions page 352

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

Advertisement

21.4.10.
Pause Command
"Pause" command can be set under "sp_state_play" state.
"Pause" command pauses the playing, after pause available, the state goes to "sp_state_pause".
Following Pause mode is supported.
Pause immediately
After getting "Pause immediately" command, Sound playing pauses immediately.
Even pause start at big sample value, smooth function avoids the noise.
Figure 21.4.10.1 shows smooth function after "Pause immediately" command.
PAUSE immediately
command
Figure 21.4.10.1 Smooth Function after "Pause immediately" Command
Pause after current phrase
After getting "Pause after phrases" command, Voice/Audio Play pauses after finishing current phrase,
Figure 21.4.10.2 shows the pause timing after "Pause after current phrase" command.
Sentence: "The temperature is set at / 41 degree".
"Pause after current
phrase" command
Figure 21.4.10.2 Pause Timing after "Pause after current phrase" Command
Figure 21.4.10.3 shows "Pause" command flow.
Set Sound Play COMMAND
in Sound Play Function Registers(See Table 21.4.14.1)
Cortex Set HW Processor
21-14
Smooth function
Phrase 0
Wait STATE_x = "sp_state_play"
Wait STATUS.READY = sp_status_ready
-
COMMAND_x: "PAUSE_xxx"
Set HWPCMDTRG.HWP0TRG
Wait HWPINTF.HWP0IF = 1
check STATE_x = "sp_state_pause", if necessary
Figure 21.4.10.3 "Pause" Command Flow.
Seiko Epson Corporation
Phrase1
PAUSE at here
The output sound is "the
temperature is set at"
HW Processor interrupts to cortex
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)

Advertisement

loading