Datasheet

ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/ADE7569
Rev. B | Page 27 of 152
SPECIAL FUNCTION REGISTER (SFR) MAPPING
Table 15.
Mnemonic Address Description
INTPR 0xFF
Interrupt pins configuration
(see Table 17).
SCRATCH4 0xFE Scratch Pad 4 (see Table 25).
SCRATCH3 0xFD Scratch Pad 3 (see Table 24).
SCRATCH2 0xFC Scratch Pad 2 (see Table 23).
SCRATCH1 0xFB Scratch Pad 1 (see Table 22).
BATVTH 0xFA
Battery detection threshold
(see Table 52).
STRBPER 0xF9
Peripheral ADC strobe period
(see Table 49).
IPSMF 0xF8
Power management interrupt flag
(see Table 18).
TEMPCAL 0xF7
RTC temperature compensation
(see Table 135).
RTCCOMP 0xF6
RTC nominal compensation
(see Table 134).
BATPR 0xF5
Battery switchover configuration (see
Table 19).
PERIPH 0xF4
Peripheral configuration
(see Table 20).
DIFFPROG 0xF3
Temperature and supply delta
(see Table 50).
B 0xF0 Auxiliary math (see Table 56).
VDCINADC 0xEF V
DCIN
ADC value (see Table 53).
LCDSEGE2 0xED LCD Segment Enable 2 (see Table 98).
IPSME 0xEC
Power management interrupt enable
(see Table 21).
SPISTAT 0xEA SPI interrupt status (see Table 150).
SPI2CSTAT 0xEA I
2
C interrupt status (see Table 154).
SPIMOD2 0xE9 SPI Configuration SFR 2 (see Table 149).
I2CADR 0xE9 I
2
C slave address (see Table 153).
SPIMOD1 0xE8 SPI Configuration SFR 1 (see Table 148).
I2CMOD 0xE8 I
2
C mode (see Table 152).
WAV2H 0xE7 Selection 2 sample MSB (see Table 31).
WAV2M 0xE6
Selection 2 sample middle byte
(see Table 31).
WAV2L 0xE5 Selection 2 sample LSB (see Table 31).
WAV1H 0xE4 Selection 1 sample MSB (see Table 31).
WAV1M 0xE3
Selection 1 sample middle byte (see
Table 31).
WAV1L 0xE2 Selection 1 sample LSB (see Table 31).
ACC 0xE0 Accumulator (see Table 56).
BATADC 0xDF Battery ADC value (see Table 54).
MIRQSTH 0xDE Interrupt Status 3 (see Table 42).
MIRQSTM 0xDD Interrupt Status 2 (see Table 41).
MIRQSTL 0xDC Interrupt Status 1 (see Table 40).
MIRQENH 0xDB Interrupt Enable 3 (see Table 45).
MIRQENM 0xDA Interrupt Enable 2 (see Table 44).
MIRQENL 0xD9 Interrupt Enable 1 (see Table 43).
ADCGO 0xD8 Start ADC measurement (see Table 51).
Mnemonic Address Description
TEMPADC 0xD7 Temperature ADC value (see Table 55).
IRMSH 0xD6 I
rms
measurement MSB (see Table 31).
IRMSM 0xD5
I
rms
measurement middle byte
(see Table 31).
IRMSL 0xD4 I
rms
measurement LSB (see Table 31).
VRMSH 0xD3 V
rms
measurement MSB (see Table 31).
VRMSM 0xD2
V
rms
measurement middle byte
(see Table 31).
VRMSL 0xD1 V
rms
measurement LSB (see Table 31).
PSW 0xD0 Program status word (see Table 57).
TH2 0xCD Timer 2 high byte (see Table 120).
TL2 0xCC Timer 2 low byte (see Table 121).
RCAP2H 0xCB
Timer 2 reload/capture high byte
(see Table 122).
RCAP2L 0xCA
Timer 2 reload/capture low byte
(see Table 123).
T2CON 0xC8 Timer/Counter 2 control (see Table 115).
EADRH 0xC7 Flash high byte address (see Table 110).
EADRL 0xC6 Flash low byte address (see Table 109).
POWCON 0xC5 Power control (see Table 26).
KYREG 0xC1 Key (see Table 126).
WDCON 0xC0 Watchdog timer (see Table 85).
PROTR 0xBF Flash read protection (see Table 108).
PROTB1 0xBE
Flash Write/Erase Protection 1
(see Table 107).
PROTB0 0xBD
Flash Write/Erase Protection 0
(see Table 106).
EDATA 0xBC Flash data (see Table 105).
PROTKY 0xBB Flash protection key (see Table 104).
FLSHKY 0xBA Flash key (see Table 103).
ECON 0xB9 Flash control (see Table 102).
IP 0xB8 Interrupt priority (see Table 79).
PINMAP2 0xB4
Port 2 weak pull-up enable
(see Table 159).
PINMAP1 0xB3
Port 1 weak pull-up enable
(see Table 158).
PINMAP0 0xB2
Port 0 weak pull-up enable
(see Table 157).
LCDCONY 0xB1 LCD Configuration Y (see Table 91).
CFG 0xAF Configuration (see Table 63).
LCDDAT 0xAE LCD data (see Table 97).
LCDPTR 0xAC LCD pointer (see Table 96).
IEIP2 0xA9
Interrupt Enable and Priority 2
(see Table 80).
IE 0xA8 Interrupt enable (see Table 78).
DPCON 0xA7 Data pointer control (see Table 76).
INTVAL 0xA6 RTC alarm interval (see Table 133).
HOUR 0xA5 RTC hours counter (see Table 132).
MIN 0xA4 RTC minutes counter (see Table 131).
SEC 0xA3 RTC seconds counter (see Table 130).