13.4.6.2 Temperature Sensor The temperature sensor feature is used to convert the temperature of the device into a decimal value coded on 7 bits. An internal ADC (realized with a resistor array) is used for conversion. The recommended operating temperatures must be from –40 to 125°C for standard conversion, and can go up to 160°C when using the thermal shutdown comparator output (TSHUT signal). This signal indicates a too high temperature of the device. This signal is internally connected to a general purpose input/output (GPIO) pin. See Chapter 25, General-Purpose Interface, for more information. The temperature sensor offers two operating modes: a single conversion mode and a continuous conversion mode.
13.4.6.2.1 Single Conversion Mode (CONTCONV = 0) When the ADC is idle (EOCZ = 0), it is possible to ask for a single temperature conversion. To initiate a new conversion, the start of conversion (SOC) signal must be asserted and maintained high until the end of conversion (EOCZ) signal goes high, after which the SOC must be made low by writing 0 to the CONTROL.CONTROL_TEMP_SENSOR[9] SOC bit. Conversion completion is indicated by a negative edge on EOCZ (CONTROL.CONTROL_TEMP_SENSOR[8] EOCZ bit).