DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

API4000M8 View Datasheet(PDF) - APLUS INTEGRATED CIRCUITS

Part Name
Description
Manufacturer
API4000M8
Aplus
APLUS INTEGRATED CIRCUITS Aplus
API4000M8 Datasheet PDF : 15 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
INTEGRATED
CIRCUITS INC.
3. Single Register Operation
API4000M SERIES
VOICE OTP MODULE
Instruction Format
SHIFTL Rn
SHIFTR Rn
DEC Rn
INC Rn
Code
2n
3n
An
Bn
Cycle Bytes
1
1
1
1
1
1
1
1
Instruction Description
Each Bit of Rn Shift to left Bit,shift 0 to D0.
i.e. D7D6D5D4D3D2D1D00.
Each Bit of Rn Shift to right Bit,shift 0 to D7.
i.e. 0D7D6D5D4D3D2D1D0.
The value of Rn subduct 1,set the solution to Rn. (RnÍRn-1)
The value of Rn add 1,set the solution to Rn.(RnÍRn+1)
4. Operation between two Registers
Instruction Format
ADDR Rn, Rm
ADDRI Rn, Rm
ADDRC Rn, Rm
SUBR Rn, Rm
SUBRI Rn, Rm
SUBRC Rn, Rm
ANDR Rn, Rm
MOVR Rn, Rm
Code
D0
D1
D2
D4
D5
D6
D8
D9
Cycle
2
2
Bytes
2
2
2
2
2
2
2
2
2
2
2
2
2
2
Instruction Description
Rn add Rm, set the amount to Rn..(Rn,ÍRn+Rm)
Rn add Rm and Carry, set the amount to Rn. (RnÍRn+Rm+C)
Rn add Rm, only set Carry but don’t change the value
of Rn and Rm. (Rn+Rm Î C?)
Rn subduct Rm, set the difference to Rn. (Rn,ÍRn-Rm)
Rn subduct Rm and Carry, set the difference to Rn.
(Rn ÍRn-Rm-C)
Rn subduct Rm, only set Carry but don’t change the
value of Rn and Rm. (Rn-Rm Î C?)
Rn logical AND Rm, set the solution to Rn.
(RnÍRn AND Rm)
Set the value of Rm to Rn. ( RnÍRm)
5. Sound & Melody Control
Instruction Format Code Cycle Bytes
Instruction Description
LDSPADB Cn, Sn 1n
2
4 Set the start address of Sound.
LDSPADF Cn, Sn 9n
2
4 Set the end address of Sound.
LDMYAD Mn
CF
2
4 Set the start address of Melody.
PLAYSP Cn, Data CE
2
3 Play Sound(PS4).
TEMPO Rn
8E
1
2 Set Rn to Tempo value of Melody (PS5).
GAIN Rn
8F
1
2 Set Rn to the volume of output sound (PS6).
PS :
(1). Cn Code of Channel, n = 1A , 1B , 2A , 2B , 3A , 3B , 4A , 4B.
(2). Sn Code of Sound,sort by sequence,n = 0 ~ 9999.
(3). Mn Code of Melody Song, sort by sequence n = 0 ~ 9999.
(4). Data : Code of Sound Sample Rate, the value is during 0 ~ 31, reference B.Sound Processor to get
more description.
(5). Reference C. Melody Processor to get more description of Tempo Code.
(6). Volume is during 0 ~ 63,0 is mute,63 is MAX volume.
4
Ver1.1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]