Maxim Integrated High-Speed Microcontroller User Manual
Page 5
High-Speed Microcontroller User’s Guide
Rev: 062210
5 of 176
2.................................................................................................................................... 113
General-Purpose I/O .......................................................................................................................... 113
Most Significant Address Byte, A8–A15 ............................................................................................ 114
3 ........................................................................................................................114
................................................................................................................115
..............................................................................................115
....................................................................................................................115
.......................................................................................116
......................................................................................................116
......................................................................................................................116
..............................................................................................................117
PROGRAMMABLE TIMERS .......................................................................................118
.........................................................................................................................118
Timer Mode Control Register (TMOD) Summary .............................................................................. 119
Timer/Counter Control Register (TCON) Summary........................................................................... 120
0 ................................................................................................................................... 120
1 ................................................................................................................................... 121
2 ................................................................................................................................... 122
3 ................................................................................................................................... 123
2 ................................................................................................................................... 124
Timer Two Control Register (T2CON) Summary............................................................................... 124
Timer Two Mode Control Register (T2MOD) Summary .................................................................... 125
Timer 2 Capture Registers (RCAP2L, RCAP2H) Summary .............................................................. 125
.......................................................................................................................126
16-Bit Timer/Counter.......................................................................................................................... 126
16-Bit Timer with Capture .................................................................................................................. 126
16-Bit Auto-Reload Timer/Counter..................................................................................................... 127
Up/Down Count Auto-Reload Timer/Counter .................................................................................... 129
Baud-Rate Generator......................................................................................................................... 129
Timer Output Clock Generator........................................................................................................... 130
.............................................................................................................131
...................................................................................................................132
Watchdog Control Register (WDCON) Summary .............................................................................. 134
Clock Control Register (CKCON) Summary ...................................................................................... 135
SERIAL I/O ..................................................................................................................136
..........................................................................................................136
Mode 0 ............................................................................................................................................... 136
Mode 1 ............................................................................................................................................... 136
Mode 2 ............................................................................................................................................... 137
Mode 3 ............................................................................................................................................... 137
....................................................................................................137
Serial Port Control 0 Register (SCON0; 98h) .................................................................................... 138
Serial Port Control 1 Register (SCON1; C0h).................................................................................... 139
Power Control Register (PCON; 87h) ................................................................................................ 140
Watchdog Control Register (WDCON; D8h)...................................................................................... 140
Timer Two Control Register ( T2CON; C8h)...................................................................................... 140
............................................................................................................................140
Mode 0 ............................................................................................................................................... 140
Mode 2 ............................................................................................................................................... 141
Mode 1 or 3 ........................................................................................................................................ 141
.........................................................................................................143
Mode 0 ............................................................................................................................................... 143
Mode 1 ............................................................................................................................................... 145
Mode 2 ............................................................................................................................................... 147
Mode 3 ............................................................................................................................................... 149