Rainbow-electronics MAX1329 Manual de usuario Pagina 44

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 78
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 43
MAX1329/MAX1330
12-/16-Bit DASs with ADC, DACs, DPIOs, APIOs,
Reference, Voltage Monitors, and Temp Sensor
44 ______________________________________________________________________________________
ADC Data Register
The ADC Data register contains the result from the most
recently completed analog-to-digital conversion. The
12-bit result is stored in the ADCDATA<11:0> bits. The
data format is binary for unipolar mode and two’s com-
plement for bipolar mode. The ADC Data register con-
tents are the same as the ADC FIFO contents at the last
written address, unless writes to the ADC FIFO have
been inhibited.
ADC FIFO Register
The ADC FIFO register contents are different for write
and read modes. In write mode, the ADC FIFO register
sets the working depth of the FIFO and the address that
generates an interrupt. In read mode, the ADC FIFO
register holds the ADC FIFO data and FIFO address.
Write Format
A serial interface write to the ADC FIFO register moves
the FIFO write and read pointers to address 0.
AFFD<3:0>: ADC FIFO Depth bits (default = 0000).
AFFD<3:0> sets the working depth of the FIFO (see
Table 10). If set to a depth of zero, the ADC FIFO is dis-
abled and writes to the AFF (ADC FIFO Full) bit in the
Status register are also disabled. AFFD<3:0> are write-
only bits.
AFFI<3:0>: ADC FIFO Interrupt Address bits (default =
0000). AFFI<3:0> sets the FIFO address. After each
successful ADC conversion, the conversion results are
transferred from the ADC Data register to the FIFO
location indicated by the FIFO write pointer, and the
FIFO write pointer is incremented. When the FIFO write
pointer exceeds the value in AFFI<3:0>, the AFF bit in
the Status register (Table 11) is asserted. Set the
AFFI<3:0> value equal to or less than the AFFD<3:0>
value. If set to a value greater than AFFD<3:0>,
AFFI<3:0> is forced to the AFFD<3:0> value. If
AFFD<3:0> is set to 0000 (depth of zero), the ADC
FIFO is disabled and writes to the AFF bit are also dis-
abled. AFFI<3:0> are write-only bits.
MSB LSB
NAME AFFD3 AFFD2 AFFD1 AFFD0 AFFI3 AFFI2 AFFI1 AFFI0
DEFAULT 00000000
MSB
NAME ADCDATA11 ADCDATA10 ADCDATA9 ADCDATA8 ADCDATA7 ADCDATA6 ADCDATA5 ADCDATA4
DEFAULT 00000000
LSB
NAME ADCDATA3 ADCDATA2 ADCDATA1 ADCDATA0 X X X X
DEFAULT 0000XXXX
X = Don’t care.
Vista de pagina 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 77 78

Comentarios a estos manuales

Sin comentarios