Epson Arm S1C31 Series Technical Manual page 316

Cmos 32-bit single chip microcontroller
Table of Contents

Advertisement

11. Write 1 to the HWPCMDTRG.HWP0TRG bit.
12. Wait until the HWPINTF.HWP0IF bit is set to 1 (interrupt).
The HWP starts voice data output of the specified sentence number from this point.
13. Confirm that the STATE_0.STATE[15:0] bits = 0x0002 (sp_state_play) as necessary.
14. Write 0 to the HWPINTF.HWP0IF bit.
:
Playback is in progress. (The SDAC2 outputs the mixed sound of Ch.0 and Ch.1.)
:
Confirming end of Ch.0 (voice) output
15. Wait until the HWPINTF.HWP0IF bit is set to 1 (interrupt).
16. Confirm that the STATE_0.STATE[15:0] bits = 0x0001 (sp_state_idle) as necessary.
17. Write 0 to the HWPINTF.HWP0IF bit.
Confirming end of Ch.1 (BGM) output
18. Wait until the HWPINTF.HWP0IF bit is set to 1 (interrupt).
19. Confirm that the STATE_1.STATE[15:0] bits = 0x0001 (sp_state_idle) as necessary.
20. Write 0 to the HWPINTF.HWP0IF bit.
Mute
Mute control
The sound can be muted during playback with the procedure shown below.
1. Confirm that the STATE_n.STATE[15:0] bits = 0x0002 (sp_state_play).
2. Confirm that the STATUS.READY bit = 1.
3. Set the COMMAND_n.COMMAND[7:0] bits to 0x07 or 0x08.*
4. Write 1 to the HWPCMDTRG.HWP0TRG bit.
5. Wait until the HWPINTF.HWP0IF bit is set to 1 (interrupt).
The HWP mutes the sound from this point.
6. Confirm that the STATE_n.STATE[15:0] bits = 0x0004 (sp_state_mute) as necessary.
7. Write 0 to the HWPINTF.HWP0IF bit.
The above operation mutes the sound while playback output continues.
* Two mute commands are available. Setting the COMMAND_n.COMMAND[7:0] bits to 0x07 selects the
Mute Immediately command; setting to 0x08 selects the Mute after Current Phrase command.
Mute Immediately command
When this command is issued by the trigger bit, the sound is muted immediately. At this time, a
smoothing (fade-out) process for the playback output signal is carried out to suppress the occurrence of
noise.
Figure 22.4.1.2 Smoothing Process when Playback Output is Suspended
S1C31D41 TECHNICAL MANUAL
(Rev. 1.1)
Sound level
Smoothing process
(Mute/Pause/Stop Immediately command)
Seiko Epson Corporation
22 HW Processor (HWP) and Sound Output (SDAC2)
(Trigger to issue command)
(Occurrence of state transition)
(Clear interrupt flag)
(Occurrence of state transition)
(Clear interrupt flag)
(Occurrence of state transition)
(Clear interrupt flag)
(Command acceptable)
(Select Mute command)
(Trigger to issue command)
(Occurrence of state transition)
(Clear interrupt flag)
Time
Command execution
22-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Arm s1c31d41

Table of Contents