ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/ADE7569
LCD Driver ................................................................................... 100
RTC Calibration........................................................................125
UART Serial Interface...................................................................126
UART SFRs ................................................................................126
UART Operation Modes..........................................................129
UART Baud Rate Generation..................................................130
UART Additional Features ......................................................132
Serial Peripheral Interface (SPI)..................................................133
SPI Registers ..............................................................................133
SPI Pins.......................................................................................136
SPI Master Operating Modes ..................................................137
SPI Interrupt and Status Flags.................................................138
I2C-Compatible Interface.............................................................139
Serial Clock Generation...........................................................139
Slave Addresses..........................................................................139
I2C Registers...............................................................................139
Read and Write Operations .....................................................140
I2C Receive and Transmit FIFOs.............................................141
I/O Ports.........................................................................................142
Parallel I/O.................................................................................142
I/O Registers ..............................................................................143
Port 0...........................................................................................146
Port 1...........................................................................................146
Port 2...........................................................................................146
Determining the Version of the Part ..........................................147
Outline Dimensions......................................................................148
Ordering Guide .........................................................................149
LCD Registers........................................................................... 100
LCD Setup................................................................................. 103
LCD Timing and Waveforms ................................................. 103
Blink Mode................................................................................ 104
Display Element Control......................................................... 104
Voltage Generation .................................................................. 105
LCD External Circuitry........................................................... 106
LCD Function in PSM2 Mode ............................................... 106
Flash Memory............................................................................... 108
Flash Memory Overview......................................................... 108
Flash Memory Organization................................................... 109
Using the Flash Memory......................................................... 109
Protecting the Flash Memory................................................. 113
In-Circuit Programming......................................................... 114
Timers............................................................................................ 115
Timer Registers......................................................................... 115
Timer 0 and Timer 1................................................................ 117
Timer 2 ...................................................................................... 118
PLL ................................................................................................. 120
PLL Registers ............................................................................ 120
Real-Time Clock (RTC) .............................................................. 121
RTC SFRs .................................................................................. 121
Read and Write Operations .................................................... 124
RTC Modes ............................................................................... 124
RTC Interrupts ......................................................................... 124
REVISION HISTORY
11/08—Rev. A to Rev. B
Added ADE7116/ADE7156......................................... Throughout
Changes to Table 1 ............................................................................1
Added Figure 2 ..................................................................................5
Changes to Table 13 ........................................................................16
Added Figure 10 and Table 14; Renumbered Sequentially........19
Added Exposed Pad Notation to Outline Dimensions ............148
Changes to Ordering Guide.........................................................149
12/07—Rev. 0 to Rev. A
Added ADE7166/ADE7169.............................................. Universal
Changes to Table 1 ............................................................................1
Changes to Ordering Guide.........................................................144
11/07—Revision 0: Initial Version
Rev. B | Page 3 of 152