參數(shù)資料
型號: LMC1992
廠商: National Semiconductor Corporation
英文描述: LMC1992 Digitally-Controlled Stereo Tone and Volume Circuit with Four-Channel Input-Selector
中文描述: LMC1992數(shù)控立體聲音調(diào)和音量電路四通道輸入選擇
文件頁數(shù): 11/14頁
文件大?。?/td> 260K
代理商: LMC1992
Applications Information
(Continued)
DATA TRANSFER EXAMPLE
The following routines, based on the flowchart shown inFig-
ure 6, are examples of COPS
TM
microcontroller instruction
code that can be used to control the LMC1992 (see Nation-
al Semiconductor’s COPS Microcontrollers Databook for
more information). These routines arbitrarily select COPS
register 0 for I/O purposes. When these routines are en-
tered, it is assumed that chip select is high, SK (clock) is
low, and SO (data) is low. These routines exit with chip se-
lect high and SK and SO low. Output port G0 is arbitrarily
chosen to send the chip select signal to the LMC1992.
The 11 data bits needed to control the LMC1992 are as-
sumed to be in the 4-bit registers, 13–15, with the 4 MSBs
in register 13. With this configuration there is an extra bit for
a data stream that is 12 bits long. As previously mentioned,
there can be any number of extra bits between the device
address and the function address.
DATA TRANSFER ROUTINE 1
This general purpose routine handles all the overhead ex-
cept loading data into registers 13–15. It sends the data
according to the conditions discussed above. The data will
be lost at the conclusion of the routine. This routine con-
sumes only 17 ROM memory locations.
OUT1:
LBI
0,13
;POINT TO START OF DATA
;WORD
;SET C TO ENABLE SK CLOCK
;SELECT EXTERNAL DEVICE G0
;
4
0
;ENABLE SHIFT REGISTER
;OUTPUT
SC
OGI
14
LEI
8
SEND:
LD
XAS
XIS
JP
RC
OGI
;DATA TRANSMISSION LOOP
;TURN-ON CLOCK
SEND
15
;DE-SELECT EXTERNAL
DEVICE
;SET S0 TO 0
LEI
RET
0
DATA TRANSFER ROUTINE 2
This routine performs the same function as routine 1 while
preserving the contents of the data registers. This routine
takes only 21 ROM memory locations.
OUT1:
LBI
0,13
;POINT TO START OF DATA
;WORD
;SET C TO ENABLE SK CLOCK
;SELECT EXTERNAL DEVICE
GO ;
4
0
;ENABLE SHIFT REGISTER
;OUTPUT
SC
OGI
14
LEI
8
JP
SEND2
SEND1: XAS
SEND2: LD
;DATA TRANSMISSION LOOP
;TURN-ON CLOCK
XIS
JP
XAS
RC
SEND1
;SEND LAST DATA
;WAIT 4 CYCLES - DATA
;GOING OUT
CLRA
NOP
XAS
OGI
LEI
RET
;TURN SK CLOCK OFF
;DE-SELECT DEVICE
;SET S0 TO 0
15
0
11
相關(guān)PDF資料
PDF描述
LMC1992CCN LMC1992 Digitally-Controlled Stereo Tone and Volume Circuit with Four-Channel Input-Selector
LMC2001 High Precision, 6MHz Rail-To-Rail Output Operational Amplifier
LMC2001ACM5 High Precision, 6MHz Rail-To-Rail Output Operational Amplifier
LMC2001ACM5X High Precision, 6MHz Rail-To-Rail Output Operational Amplifier
LMC2001AIM High Precision, 6MHz Rail-To-Rail Output Operational Amplifier
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
LMC1992CCN 制造商:NSC 制造商全稱:National Semiconductor 功能描述:LMC1992 Digitally-Controlled Stereo Tone and Volume Circuit with Four-Channel Input-Selector
LMC200 制造商:Black Box Corporation 功能描述:14 SLOT POWER CHASSIS W/1 POWE
LMC2001 制造商:NSC 制造商全稱:National Semiconductor 功能描述:High Precision, 6MHz Rail-To-Rail Output Operational Amplifier
LMC2001 WAF 制造商:Texas Instruments 功能描述:
LMC2001ACM5 制造商:Rochester Electronics LLC 功能描述:- Bulk