Epson Arm S1C31 Series Technical Manual page 318

Cmos 32-bit single chip microcontroller
Table of Contents

Advertisement

Pause Immediately command
When this command is issued by the trigger bit, the playback output is paused immediately. At this
time, a smoothing (fade-out) process for the playback output signal is carried out to suppress the occur-
rence of noise. (See Figure 22.4.1.2.)
Pause after Current Phrase command
The playback output is paused after ending the phrase that is being output when the command is issued.
(See Figure 22.4.1.3.)
Pause release
The pause state can be released with the procedure shown below.
1. Confirm that the STATE_n.STATE[15:0] bits = 0x0003 (sp_state_pause).
2. Confirm that the STATUS.READY bit = 1.
3. Set the COMMAND_n.COMMAND[7:0] bits to 0x06.
4. Write 1 to the HWPCMDTRG.HWP0TRG bit.
5. Wait until the HWPINTF.HWP0IF bit is set to 1 (interrupt).
The HWP resumes playback output from this point.
6. Confirm that the STATE_n.STATE[15:0] bits = 0x0002 (sp_state_play) as necessary.
7. Write 0 to the HWPINTF.HWP0IF bit.
When the playback output is resumed, a smoothing (fade-in) process for the playback output signal is car-
ried out to suppress the occurrence of noise due to a sudden rise of the signal. (See Figure 22.4.1.4.)
Terminating playback
In the playback state (sp_state_play), pause state (sp_state_pause), and mute state (sp_state_mute), the play-
back can be terminated to return the state to the idle state (sp_state_idle) with the procedure shown below.
1. Confirm that the STATE_n.STATE[15:0] bits = 0x0002 (sp_state_play), 0x0003 (sp_state_pause), or
0x0004 (sp_state_mute).
2. Confirm that the STATUS.READY bit = 1.
3. Set the COMMAND_n.COMMAND[7:0] bits to 0x02 or 0x03.*
4. Write 1 to the HWPCMDTRG.HWP0TRG bit.
5. Wait until the HWPINTF.HWP0IF bit is set to 1 (interrupt).
The HWP enters the idle state at this point.
6. Confirm that the STATE_n.STATE[15:0] bits = 0x0001 (sp_state_idle) as necessary.
7. Write 0 to the HWPINTF.HWP0IF bit.
* Two playback terminate commands are available. Setting the COMMAND_n.COMMAND[7:0] bits to 0x02
selects the Sound Stop Immediately command; setting to 0x03 selects the Sound Stop after Current Phrase
command.
Sound Stop Immediately command
When this command is issued by the trigger bit, the playback output is terminated immediately. At this
time, a smoothing (fade-out) process for the playback output signal is carried out to suppress the occurrence
of noise. (See Figure 22.4.1.2.)
Sound Stop after Current Phrase command
The playback output is terminated after ending the phrase that is being output when the command is issued.
(See Figure 22.4.1.3.)
In the pause or mute state, the playback is terminated by releasing the pause or mute state immediately re-
gardless of which of the Sound Stop commands is issued.
S1C31D41 TECHNICAL MANUAL
(Rev. 1.1)
22 HW Processor (HWP) and Sound Output (SDAC2)
Seiko Epson Corporation
(Command acceptable)
(Select Release Pause command)
(Trigger to issue command)
(Occurrence of state transition)
(Clear interrupt flag)
(Command acceptable)
(Select Sound Stop command)
(Trigger to issue command)
(Occurrence of state transition)
(Clear interrupt flag)
22-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Arm s1c31d41

Table of Contents