Hwp Internal Registers; Sound Play Function Registers; Function Id Register; Interrupt Mask Register - Epson S1C31D50 Technical Manual

Cmos 32-bit single chip
Hide thumbs Also See for S1C31D50:
Table of Contents

Advertisement

21 HW Processor (HWP) and Sound Output

21.6 HWP Internal Registers

The HWP internal registers are switched to the sound play function registers or the memory check function regis-
ters according to the set value of the FUNCTION.ID[7:0] bits when the HWPCTL.HWPEN bit is set to 1. Table
21.6.1 lists the HWP internal register map.
Address
Base + 0x00
FUNCTION
Base + 0x02
INTMASK
Base + 0x04
ROMADDR
Base + 0x08
ROMSIZE
Base + 0x0c
KEYCODE
Base + 0x10
COMMAND_0 Ch.0 Command Register
Base + 0x12
COMMAND_1 Ch.1 Command Register
Base + 0x14
SENTENCE_0 Ch.0 Sentence Number Setting Register
Base + 0x16
SENTENCE_1 Ch.1 Sentence Number Setting Register
Base + 0x18
VOLUME_0
Base + 0x1a
VOLUME_1
Base + 0x1c
REPEAT_0
Base + 0x1e
REPEAT_1
Base + 0x20
SPEED_0
Base + 0x40
STATE_0
Base + 0x42
STATE_1
Base + 0x44
ERROR
Base + 0x46
STATUS
Base + 0x48
Base + 0x4c
VERSION

21.6.1 Sound Play Function Registers

Function ID Register

Register name
Bit
FUNCTION
15–8 –
7–0 ID[7:0]
Bits 15–8 Reserved
Set to 0x00 when writing data to this register.
Bits 7–0
ID[7:0]
These bits select the function to be executed in the HWP.

Interrupt Mask Register

Register name
Bit
INTMASK
15–8 –
(Sound Play)
7–4 –
3
2
1
0
21-18
Table 21.6.1 HWP Internal Register Map
Sound play function
Function ID Register
Interrupt Mask Register
ROM Address Register
ROM Size Register
Key Code Register
Ch.0 Volume Control Register
Ch.1 Volume Control Register
Ch.0 Repeat Control Register
Ch.1 Repeat Control Register
Ch.0 Playback Speed Conversion Register –
Ch.0 State Monitor Register
Ch.1 State Monitor Register
Error Status Register
Operating Status Register
Version Number Register
Bit name
Initial
0x00
0x00
Table 21.6.2 Function ID
FUNCTION.ID[7:0] bits
0x03
0x02
0x01
Other
Bit name
Initial
0x00
0x0
TO_MUTE
0
TO_PAUSE
0
TO_PLAY
0
TO_IDLE
0
Seiko Epson Corporation
Register name
Memory check function
FUNCTION
Function ID Register
INTMASK
Interrupt Mask Register
MEMADDR
Memory Address Register
MEMSIZE
Memory Size Register
INITVALUE
Initial Value Setting Register
COMMAND
Command Register
STATE
State Monitor Register
ERROR
Error Status Register
STATUS
Operating Status Register
RESULT
Calculation Result Register
VERSION
Version Number Register
Reset
R/W
R
H0
W
HWP function
Memory check function
Sound play function using T16B Ch.0
Sound play function using SDAC
Setting prohibited (error)
Reset
R/W
R
R
H0
W
H0
W
H0
W
H0
W
Base = 0x00156700
Remarks
Remarks
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c31d51

Table of Contents