English
Language : 

ZAMC4100 Datasheet, PDF (81/155 Pages) Integrated Device Technology – Actuator and Motor Controller
ZAMC4100 Datasheet
Table 3.33 AINCONF Register Bits Description
Bit Description
SPSWEN: Bit for connecting the internal 5.0V supply to the S_P pin.
7 1 = Pin S_P is connected to the internal supply.
0 = Pin S_P is connected to an external source.
SNSWEN: Bit for connecting the VSSA to pin S_N.
6 1 = Pin S_N is connected to VSSA.
0 = Pin S_N is connected to an external source.
AINxTMEN: Enable external temperature measurement at pins AIN3, AIN4.
1 = Pin AINx (x=3, 4) is configured for temperature measurement.
5:4
0 = Pin AINx (x=3, 4) is used as a general-purpose pin.
Note: When AINxTMEN = 1, the bits AINxMD are “don’t care.”
AINxMD: Analog inputs absolute or ratiometric configuration bit.
3:0 1 = Pin AINx (x=1 to 4) is configured for absolute measurement.
0 = Pin AINx (x=1 to 4) is configured for ratiometric measurement.
3.12.3. ADC Input MUX Control
The ADC input multiplexer is controlled via the INPSEL[4:0] bits in the ADCCTRL register (see Table 3.34). The
settings for combinations of INPSEL bits are described in Table 3.36 and illustrated in Figure 3.20Figure 3.21.
After setting the INPSEL for a corresponding channel, the ADC control circuitry automatically processes the
following operations:
1) It configures the analog circuitry to provide required reference voltage.
2) When the conversion is started, it runs the conversion algorithm depending on the type of selected input.
Bits SCNV and CCNV of register ADCCTRL are used for starting a single or continuous ADC conversion.
Supported ADC conversion modes and conversion enable bits are discussed in section 3.12.7.
Note: When an ADC conversion is running, the WRITE access for the INPSEL bits is blocked.
© 2016 Integrated Device Technology, Inc.
81
January 26, 2016