Sound Generator (Snda) - Epson S1C31D01 Software Manual

Cmos 32-bit single chip microcontroller peripheral circuit sample software manual
Table of Contents

Advertisement

3.14 Sound Generator (SNDA)

SNDA is a sound generator that generates melodies and buzzer signals.
This example programs the SNDA to generate various tones and music.
Operations
1.
Example starts OSC1 and initializes SNDA.
2.
SNDA runs in normal buzzer mode for 5 sec.
3.
SNDA runs in one-shot buzzer mode for 250msecs.
4.
SNDA runs in melody mode.
Example of Output
-CPU clock- seCLG_IOSC (20000000)
Start SNDA in normal buzzer mode for 5 sec
Start SNDA in one-shot buzzer mode, 250ms
Start SNDA in melody mode
Start SNDA playing of 'Postoj Parovoz' music
Exit
S1C31D01 Peripheral Circuit
Sample Software Manual (Rev.3.00)
Seiko Epson Corporation
49

Advertisement

Table of Contents
loading

Table of Contents