參數(shù)資料
型號: S1C88816D
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, UUC164
封裝: DIE-164
文件頁數(shù): 23/173頁
文件大?。?/td> 1411K
代理商: S1C88816D
S1C88816 TECHNICAL MANUAL
EPSON
111
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Melody Generator)
5.13.2 Programming melodies
Fig. 5.13.2.1 Contents of melody RAM
Melody RAM
...
Melody 1
Melody n
...
Melody 1
Melody n
00D1FFH
Note RAM
00D100H
00D0FFH
Scale RAM
00D000H
D7
D6
D5
D4
D3
D2
D1
D0
Note data
Tie
Rest
END
Unused
D7
D6
D5
D4
D3
D2
D1
D0
Scale data
1 note/byte
1: Last data in a melody
0: Middle of a melody
1: Rest
0: Note
1: 10 msec of break time is inserted
0: Tie
Melodies are programmed by writing data to the
note RAM and scale RAM.
Each word in the note RAM and scale RAM
represents a note or rest and it corresponds
between two RAMs one to one. In other words, the
data stored in the same low-order 8-bit address of
the note and scale RAMs correspond to a note on
the musical score.
Melody data should be written from the start
address of each RAM continuously by notes.
Note: The melody RAM cannot be rewritten while
a melody is playing.
s Setting the note RAM
First, the following describes data to be set in the
note RAM.
(1) Note (note RAM: D7 to D5)
The 3 high-order bits (D7 to D5) in the note
RAM specify a type of note or rest. Table
5.13.2.1 shows the correspondence between the
setting value and note/rest.
Table 5.13.2.1 Types of notes/rests
D7
0
1
Division
ratio
1/8
1/7
1/6
1/5
1/4
1/3
1/2
1/1
D6
0
1
0
1
D5
0
1
0
1
0
1
0
1
Note
Rest
A length of sound shorter than a sixteenth note
that is not included in the table above may be
specified using two available notes and the tie
bit.
(2) Tie (note RAM: D4)
When the D4 bit in the note RAM is set to "1", a
silent period of approximately 10 msec will be
inserted between the previous and concerned
notes for playing discretely between notes.
When the D4 bit is set to "0", no silent period
will be inserted, and the previous and
concerned notes will play continuously. This is
used to specify a tie. The notes to be tied must
be the same pitch and the D4 bit cannot be used
to specify a slur.
Do not specify a tie (do not set the D4 bit in the
note RAM to "0") for the note beginning a
melody. Writing "0" may cause improper
operation as there is no previous note.
(3) Rest (note RAM: D3)
When the D3 bit in the note RAM is set to "1",
the data at that address is assumed as a rest and
a break time with the length specified using the
D7 to D5 bits will be inserted. When the D3 bit
is set to "0", the data will be played as a note.
When specifying a rest, set 00H or an available
scale data to the corresponding scale RAM
address. Writing FFH may cause improper
operation.
(4) END (note RAM: D2)
Set "1" to the D2 bit in the note RAM, if that
address is the last note or rest of a melody. This
bit controls the end of play. The D2 bits in the
middle of a melody must be set to "0".
相關(guān)PDF資料
PDF描述
S1C88832F0A0100 MICROCONTROLLER, PQFP128
S1C88848D0A0100 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, UUC192
S1C8F360F 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PQFP176
S1D13305F00B 640 X 256 PIXELS CRT CHAR OR GRPH DSPL CTLR, PQFP60
S1D13305F00A 640 X 256 PIXELS CRT CHAR OR GRPH DSPL CTLR, PQFP60
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C88848 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C8F360D411000 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風格:SMD/SMT
S1C8F360D511000 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風格:SMD/SMT
S1C8F360F413100 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風格:SMD/SMT
S1C8F360F513200 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風格:SMD/SMT