Download Print this page

Epson S1C31D50 Technical Instructions page 346

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

Advertisement

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.
21-8
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)
HW Processor Interrupt Settings
- Set the priority of HW Processor interrupt
- Clear the pending of HW Processor interrupt
- Enable the HW Processor interrupt
- Set HWPINTE.HWPIE = 1
Cortex Enable HW Processor
Enable HWPCTL.HWPEN
Wait HWPINTF.HWP0IF = 1
Check STATE_0 = "sp_state_idle"
Check STATE_1 = "sp_state_idle"
Sound Play Function
Figure 21.4.5.1 Sound Play Configuration Flow
Seiko Epson Corporation
HW Processor interrupts to cortex
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)

Advertisement

loading