Microchip Technology Zena Especificaciones Pagina 38

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 128
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 37
PIC12F629/675
DS41190E-page 36 © 2007 Microchip Technology Inc.
6.1 Comparator Operation
A single comparator is shown in Figure 6-1, along with
the relationship between the analog input levels and
the digital output. When the analog input at V
IN+ is less
than the analog input V
IN-, the output of the comparator
is a digital low level. When the analog input at V
IN+ is
greater than the analog input V
IN-, the output of the
comparator is a digital high level. The shaded areas of
the output of the comparator in Figure 6-1 represent
the uncertainty due to input offsets and response time.
The polarity of the comparator output can be inverted
by setting the CINV bit (CMCON<4>). Clearing CINV
results in a non-inverted output. A complete table
showing the output state versus input conditions and
the polarity bit is shown in Table 6-1.
TABLE 6-1: OUTPUT STATE VS. INPUT
CONDITIONS
FIGURE 6-1: SINGLE COMPARATOR
Note: To use CIN+ and CIN- pins as analog
inputs, the appropriate bits must be
programmed in the CMCON (19h) register.
Input Conditions CINV COUT
VIN- > VIN+ 0 0
VIN- < VIN+ 0 1
VIN- > VIN+ 1 1
VIN- < VIN+ 1 0
Output
V
IN-
VIN+
Output
+
V
IN+
V
IN-
Note: CINV bit (CMCON<4>) is clear.
Vista de pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 127 128

Comentarios a estos manuales

Sin comentarios