Application-Programming-Interface .................................................................... 44
XROW Bytes....................................................................................................... 44
Hardware Conditions .......................................................................................... 44
Hardware Security Byte ...................................................................................... 45
On-chip Expanded RAM (ERAM) ....................................................... 46
Timer 2 ................................................................................................. 49
Auto-reload Mode ............................................................................................... 49
Programmable Clock Output .............................................................................. 50
Programmable Counter Array (PCA) ................................................ 54
PCA Capture Mode............................................................................................. 61
16-bit Software Timer/Compare Mode................................................................ 61
High Speed Output Mode ................................................................................... 62
Pulse Width Modulator Mode.............................................................................. 63
PCA Watchdog Timer ......................................................................................... 64
Serial I/O Port ...................................................................................... 65
Framing Error Detection ..................................................................................... 65
Automatic Address Recognition.......................................................................... 66
Baud Rate Selection for UART for Mode 1 and 3............................................... 68
UART Registers.................................................................................................. 71
Interrupt System ................................................................................. 75
Overview............................................................................................................. 75
Registers............................................................................................................. 76
Interrupt Sources and Vector Addresses.............................................................83
Keyboard Interface ............................................................................. 84
Introduction ......................................................................................................... 84
Description.......................................................................................................... 84
Registers............................................................................................................. 85
Programmable LED ............................................................................ 88
Serial Peripheral Interface (SPI) ........................................................ 89
Features.............................................................................................................. 89
Signal Description............................................................................................... 89
Functional Description ........................................................................................ 91
Two Wire Interface (TWI) .................................................................... 98
Introduction ......................................................................................................... 98
Description........................................................................................................ 100
Notes ................................................................................................................ 103
Registers............................................................................................................ 112
ii
4136B–USB–09/03