21-8
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
21.4.5.
Sound Play Configuration
To move to “Sound Play” Function , “Sound Play” Configuration
is necessary to HW Processor.
Figure 21.4.5.1 shows Sound Play Configuration flow.
Figure 21.4.5.1 Sound Play Configuration Flow
Sound Play Configuration
Set the following parameters
-
FUNCTION: "
Sound Play
"
-
INTMASK
-
ROMADDR
-
ROMSIZE
-
KEYCODE
in Sound Play Function Registers(See Table 21.4.14.1)
Enable HWPCTL.HWPEN
Wait HWPINTF.HWP0IF = 1
Cortex Enable HW Processor
HW Processor interrupts to cortex
So
und
P
lay
C
onfig
ur
atio
n
Check STATE_0 = "sp_state_idle"
Check STATE_1 = "sp_state_idle"
Sound Play Function
- Set the priority of HW Processor interrupt
- Clear the pending of HW Processor interrupt
- Enable the HW Processor interrupt
- Set HWPINTE.HWPIE = 1
HW Processor Interrupt Settings
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...