2015-2016 Microchip Technology Inc. DS20005382C-page 25
MCP9902/3/4
REGISTER 5-6: CONFIG: CONFIGURATION REGISTER (ADDRESSES 03H AND 09H)
RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0
MSKAL R/S AT/THM RECD1 RECD2 RANGE DA_DIS APDD
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR ‘1’ = bit is set ‘0’ = Bit is cleared x = Bit in unknown
7 MSKAL: Masks the ALERT
/THERM2 pin from asserting when the ALERT/THERM2 pin is in interrupt
mode. This bit has no effect when the ALERT
/THERM2 pin is in comparator mode.
1 = The ALERT
/THERM2 pin is masked and will not be asserted for any interrupt condition when the
ALERT
/THERM2 pin is in interrupt mode. The Status Register will be updated normally.
0 = The ALERT
/THERM2 pin is not masked. If any of the appropriate status bits are set, the
ALERT
/THERM2 pin will be asserted.
6 R/S: Controls Active/Standby states
1 = The device is in Standby state and not converting (unless a one-shot has been commanded)
0 = The device is in Active state and converting on all channels
5 AT/THM: Controls the operation of the ALERT
/THERM2 pin
1 = The ALERT
/THERM2 pin acts in comparator mode as described in Section 4.6.2
“ALERT/THERM2 Pin In THERM Mode”. In this mode the MASK_ALL bit is ignored.
0 = The ALERT/THERM2 pin acts in interrupt mode as described in Section 4.6.1 “ALERT/THERM2
Pin Interrupt Mode”.
4 RECD1: Disables the Resistance Error Correction (REC) for the External Diode 1
1 = REC is disabled for the External Diode 1
0 = REC is enabled for the External Diode 1
3 RECD2: Disables the Resistance Error Correction (REC) for External Diode 2 and External Diode 3
1 = REC is disabled for External Diode 2 and External Diode 3
0 = REC is enabled for External Diode 2 and External Diode 3
2 RANGE: Configures the measurement range and data format of the temperature channels
1 = The temperature measurement range is -64°C to +191.875°C and the data format is offset binary
(see Table 4-7)
0 = The temperature measurement range is 0°C to +127.875°C and the data format is binary
1 DA_DIS: Disables the dynamic averaging feature on all temperature channels
1 = The dynamic averaging feature is disabled
0 = The dynamic averaging feature is enabled. All temperature channels will be converted with an
averaging factor that is based on the conversion rate as shown in Table 4-1.
0 APDD (MCP9904 only): Disables the anti-parallel diode operation
1= Anti-parallel diode mode is disabled. Only one external diode will be measured on the DP2 and
DN2 pins.
0 = Anti-parallel diode mode is enabled. Two external diodes will be measured on the DP2 and DN2 pins.