SNIS237A December 2024 – April 2025 TMP118
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
This register is used to configure the operation of the TMP118 and also provides the alert status.
Return to Register Map.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| One_Shot | Reserved | Fault[1:0] | Polarity | Reserved | Shutdown | ||
| R/W-0b | R-11b | R/W-00b | R/W-0b | R-0b | R/W-0b | ||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Conversion_Rate[1:0] | Alert | Reserved | AVG[1:0] | Reserved | |||
| R/W-10b | R-1b | R-1b | R/W-00b | R-00b | |||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | One_Shot | R/W | 0b | One-shot conversion trigger applicable in shutdown mode only. In continuous conversion mode the bit reads 0b. Writing a 1 to this bit triggers a single temperature conversion. During the conversion, this bit reads 0. The device returns to the shutdown state at the completion of the single conversion. 0b = Active conversion ongoing 1b = Trigger a one-shot conversion by writing this bit to 1b |
| 14:13 | Reserved | R | 11b | Reserved |
| 12:11 | Fault[1:0] | R/W | 00b | The fault bit is used to count the number of consecutive conversions for which the alert condition exists before the status bit is set. 00b = 1 fault 01b = 2 faults 10b = 4 faults 11b = 6 faults |
| 10 | Polarity | R/W | 0b | The polarity bit allows the host to adjust the polarity of the Alert_Flag bit. 0b = Alert_Flag is active low 1b = Alert_Flag is active high |
| 9 | Reserved | R | 0b | Reserved. Program the value to 0b. |
| 8 | Shutdown | R/W | 0b | The shutdown bit is used to change the device conversion mode. 0b = Continuous conversion mode 1b = Shutdown mode |
| 7:6 | Conversion_Rate[1:0] | R/W | 10b | The conversion rate bits configure the device conversion interval. The default is conversion every 250ms. 00b = 4s / 0.25Hz 01b = 1s / 1Hz 10b = 0.25s / 4Hz 11b = 125ms / 8Hz |
| 5 | Alert_Flag | R | 1b | The Alert_Flag bit is a read-only bit which provides the information about the alert status The Polarity bit affects the Alert_Flag value. |
| 4 | Reserved | R | 1b | Reserved |
| 3:2 | AVG[1:0] | R/W | 00b | Averaging enable bit. Averaging forces every measurement including one-shot measurements to be averaged with the following conversions modes: 00b = No Averaging 01b = 4x Back-to-back Averaging 10b = 8x Back-to-back Averaging 11b = Moving 4x Averaging |
| 1:0 | Reserved | R | 00b | Reserved. |