Analog Input "Bit Bang" Register - VersaLogic EBX-22 Reference Manual

Table of Contents

Advertisement

IN
For more detailed information on the EBX-11 A/D converter, please refer to the
Semiconductor ADC78H90 Datasheet
A
I
"B
NALOG
NPUT
A special register is available at 1D5h that enables the direct control ("bit banging") of the ADC.
To use this register, ADC field (bits D1-D0) of the MODCON register (1DFh) must be set to 0h
(see Table 44 for mode control settings).
ADCBB (Read/Write) 1D5h
D7
ADCIN
Reserved
Bit
Mnemonic
D7
ADCIN
D6-D3
D2
ADCCLK
D1
ADCOUT
D0
ADCCS0
EBX-22 Reference Manual
AX, DX
;16bit input reads current conversion data
;from SPIDATA1 into AH and from SPIDATA0 into
;AL
B
" R
IT
ANG
EGISTER
D6
D5
D4
Reserved
Reserved
Table 28: ADCBB Register Bit Assignments
Description
Analog Input – This bit is read only.
Reserved – These bits have no function.
Analog Clock – This bit is read/write.
Analog Output – This bit is read/write.
Analog Chip Select – This bit is read/write.
Interfaces and Connectors
D3
D2
D1
Reserved
ADCCLK
ADCOUT
National
D0
ADCCS0
55

Advertisement

Table of Contents
loading

Table of Contents