数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

API4000M2 数据表(PDF) 10 Page - Aplus Intergrated Circuits

部件名 API4000M2
功能描述  4-channel Sound Generator with Melody
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  APLUS [Aplus Intergrated Circuits]
网页  http://www.aplusinc.com.tw
标志 APLUS - Aplus Intergrated Circuits

API4000M2 数据表(HTML) 10 Page - Aplus Intergrated Circuits

Back Button API4000M2 Datasheet HTML 6Page - Aplus Intergrated Circuits API4000M2 Datasheet HTML 7Page - Aplus Intergrated Circuits API4000M2 Datasheet HTML 8Page - Aplus Intergrated Circuits API4000M2 Datasheet HTML 9Page - Aplus Intergrated Circuits API4000M2 Datasheet HTML 10Page - Aplus Intergrated Circuits API4000M2 Datasheet HTML 11Page - Aplus Intergrated Circuits API4000M2 Datasheet HTML 12Page - Aplus Intergrated Circuits API4000M2 Datasheet HTML 13Page - Aplus Intergrated Circuits API4000M2 Datasheet HTML 14Page - Aplus Intergrated Circuits Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 15 page
background image
INTEGRATED
API4000M SERIES
CIRCUITS INC.
VOICE OTP MODULE
Ver1.1
10
E. Memory Data Structure
Program Data, Melody Data, Sound Data of API4000M all input from outside, Each group Data are 8 bits,
Input from 8 Memory Data Input Port D7 ~ D0. API4000M can direct control 24bits Memory Address, output from
24 Memory Address Output Port A23 ~ A0. Data in Memory is in order of Program Data, Melody Data, Sound
Data. Program Data’s Start Address is 000000, Max. Address is 00FFFF, Program Data has max. 64K Bytes.
Melody Data’s Start Address is continue from Program Data’s End Address, Sound Data’s Start Address is
continue from Melody Data’s End Address, Highest Address is FFFFFF.
PROGRAM GUID
API4000M is controlled by Program to Play Sound or Play Melody, this chapter will descript how to write
a Program.
A. Initial State
After API4000M Power On, or wake up again after Shut Down, Program Data Address of API4000M is set
on Address 000000. You can use instruction OUTPC, OUTPD in the program’s first to set Pin act of PI3 ~ PI0,
PIO3 ~ PIO0, and PO3 ~ PO0. Every register in Data Bank after Power On has random initial value, but Shut
Down won’t change the value.
B. Play Sound
Before Playing Sound, Start Address and End Address of Sound Data which would be played must set on the
Channel want Play Sound. Use Instruction LDSPADB and LDSPADF set Address of Sound Data. Otherwise, the
Channel must be set to Sound Mode by Data Port PE, Sound Processor must be set on, and use Instruction CLINTR
to clear residual INTR3 interrupt signal . Then use Instruction PLAYSP to begin playing sound, use INTR3 to
detect interrupt signal, and use Instruction INPUT PC to detect the Sound had play over or not. The channel who
doesn’t play sound must be set to Melody Mode in Data Port PE, avoid mistake Sound End interrupt signal;
exercise Instruction CLINTR, or set Sound Processor to OFF, will clear interrupt signal INTR3.
C. Play Melody
Before Play Melody, except set Sound Data Address to decide instrument, Address of Melody Data also must
be set by Instruction LDMYAD, and set value of Melody Tempo, then use Instruction OUT PE set the channel
would play to Melody Mode, set Sound Processor ON, trigger to play Melody. When Melody playing, if the
interrupt signal INTR4(Change Instrument) be detected, use Instruction INPUT PB to decision which channel need
change instrument, reset trible/bass tone reference Sound Data Address of the channel directly. Melody play over
will send a interrupt signal INTR2(Song End), If you want pause or stop play Melody play, use Instruction
OUT PE to set Melody to OFF.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com