Download Print this page

Epson S1C31D50 Technical Instructions page 362

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

Advertisement

2ch Mixing Play(separate start)
Figure 21.4.15.5 shows Sound PAUSE-Release PAUSE Flow.
+
・・・・
Hello,
21-24
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)
Cortex Set HW Processor
Set HWPCMDTRG.HWP0TRG
Wait HWPINTF.HWP0IF = 1
Check STATE_CH1 = "sp_state_play", if necessary
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)
Cortex Set HW Processor
Set HWPCMDTRG.HWP0TRG
Wait HWPINTF.HWP0IF = 1
Check STATE_CH0 = "sp_state_play", if necessary
Wait HWPINTF.HWP0IF = 1
Check STATE_CH0 = "sp_state_idle"
Wait HWPINTF.HWP0IF = 1
Check STATE_CH1 = "sp_state_idle"
Figure 21.4.15.5 Sound PAUSE-Release PAUSE Flow
Seiko Epson Corporation
HW Processor interrupts to cortex
HW Processor interrupts to cortex
HW Processor interrupts to cortex
HW Processor interrupts to cortex
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)

Advertisement

loading