Specifications
iii
3706C–MICRO–2/11
AT89LP3240/6440
Table of Contents (Continued)
16 Serial Interface (UART) .......................................................................... 85
16.1 Multiprocessor Communications .....................................................................85
16.2 Baud Rates ......................................................................................................87
16.3 More About Mode 0 .........................................................................................89
16.4 More About Mode 1 .........................................................................................92
16.5 More About Modes 2 and 3 .............................................................................94
16.6 Framing Error Detection ..................................................................................97
16.7 Automatic Address Recognition ......................................................................97
17 Enhanced Serial Peripheral Interface .................................................. 98
17.1 Master Operation ...........................................................................................100
17.2 Slave Operation .............................................................................................101
17.3 Pin Configuration ...........................................................................................101
17.4 Serial Clock Timing ........................................................................................104
18 Two-Wire Serial Interface .................................................................... 105
18.1 Data Transfer and Frame Format ..................................................................106
18.2 Multi-master Bus Systems, Arbitration and Synchronization .........................108
18.3 Overview of the TWI Module .........................................................................110
18.4 Register Overview .........................................................................................112
18.5 Using the TWI ................................................................................................113
18.6 Transmission Modes .....................................................................................115
19 Dual Analog Comparators ................................................................... 126
19.1 Analog Input Muxes .......................................................................................127
19.2 Internal Reference Voltage ............................................................................128
19.3 Comparator Interrupt Debouncing .................................................................128
20 Digital-to-Analog/Analog-to-Digital Converter .................................. 133
20.1 ADC Operation ..............................................................................................135
20.2 DAC Operation ..............................................................................................136
20.3 Clock Selection ..............................................................................................137
20.4 Starting a Conversion ....................................................................................137
20.5 Noise Considerations ....................................................................................138
21 Programmable Watchdog Timer ......................................................... 141
21.1 Software Reset ..............................................................................................142