Electronic component search and free download site.
Transistors,MosFET ,Diode,Integrated circuits
Номер в каталоге  

ADC0833 Просмотр технического описания (PDF) - National ->Texas Instruments

Номер в каталогеADC0833 National-Semiconductor
National ->Texas Instruments National-Semiconductor
Компоненты Описание8-Bit Serial I/O A/D Converter with 4-Channel Multiplexer
ADC0833 Datasheet PDF : 20 Pages
First Prev 11 12 13 14 15 16 17 18 19 20
Applications (Continued)
Digital Link and Sample Controlling Software for the
Serially Oriented COP420 and the Bit Programmable I O INS8048
TL H 5607 – 10
COP CODING EXAMPLE
Mnemonic
Instruction
LEI
ENABLES SIO’s INPUT AND OUTPUT
SC
Ce1
OGI
G0e0 (CSe0)
CLR A
CLEARS ACCUMULATOR
AISC 1
LOADS ACCUMULATOR WITH 1
XAS
EXCHANGES SIO WITH ACCUMULATOR
AND STARTS SK CLOCK
LDD
LOADS MUX ADDRESS FROM RAM
INTO ACCUMULATOR
NOP
XAS
LOADS MUX ADDRESS FROM
ACCUMULATOR TO SIO REGISTER
u
8 INSTRUCTIONS
v
XAS
READS HIGH ORDER NIBBLE (4 BITS)
INTO ACCUMULATOR
XIS
PUTS HIGH ORDER NIBBLE INTO RAM
CLR A
CLEARS ACCUMULATOR
RC
Ce0
XAS
READS LOW ORDER NIBBLE INTO
ACCUMULATOR AND STOPS SK
XIS
PUTS LOW ORDER NIBBLE INTO RAM
OGI
G0e1 (CSe1)
LEI
DISABLES SIO’s INPUT AND OUTPUT
8048 CODING EXAMPLE
Mnemonic
START ANL P1 0F7H
MOV B 5
MOV A ADDR
LOOP 1 RRC A
JC ONE
ZERO ANL P1 0FEH
JMP CONT
ONE
CONT
LOOP 2
RETR
ORL P1 1
CALL PULSE
DJNZ B LOOP 1
CALL PULSE
MOV B 8
CALL PULSE
IN A P1
RRC A
RRC A
MOV A C
RLC A
MOV C A
DJNZ B LOOP 2
PULSE ORL P1 04
NOP
ANL P1 0FBH
RET
Instruction
SELECT A D (CSe0)
w BIT COUNTER 5
w A MUX ADDRESS
w CY ADDRESS BIT
TEST BIT
BITe0
DIw0
CONTINUE
BITe1
DIw1
PULSE SK 0x1x0
CONTINUE UNTIL DONE
EXTRA CLOCK FOR SYNC
w BIT COUNTER 8
PULSE SK 0x1x0
CYwDO
AwRESULT
w A(0) BIT AND SHIFT
CwRESULT
CONTINUE UNTIL DONE
PULSE SUBROUTINE
SKw1
DELAY
SKw0
14
Direct download click here

 

Share Link : 
All Rights Reserved© datasheetq.com 2015 - 2019  ] [ Privacy Policy ] [ Request Datasheet  ] [ Contact Us ]