7.1.2.1 Mode 0 (13-bit Timer/Counter).......................................................................................143
7.1.2.2 Mode 1 (16-bit Timer/Counter) and Demo Programs (C and ASM)...............................144
7.1.2.3 Mode 2 (8-bit Auto-Reload Mode) and Demo Programs (C and Assembly Program) ...148
7.1.2.4 Mode 3 (Two 8-bit Timers/Couters)................................................................................150
7.1.3 Timer/Counter 1 Operational Mode...................................................................151
7.1.3.1 Mode 0 (13-bit Timer/Counter).......................................................................................151
7.1.3.2 Mode 1 (16-bit Timer/Counter) and Demo Programs (C and ASM)...............................152
7.1.3.3 Mode 2 (8-bit Auto-Reload Mode) and Demo Programs (C and ASM) .........................156
.......................................158
7.2 Application Notes for Timer 0/1 in practice
7.3 Timer/Counter 2 .................................................................................159
7.3.1 Special Function Registers about Timer/Counter 2...........................................159
7.3.2 Timer / Counter 2 Operational Mode.................................................................161
7.3.2.1 Capture Mode ..................................................................................................................161
7.3.2.2 Auto-Reload Mode ..........................................................................................................162
.....................................163
7.3.2.3 Buad-Rate Generator Mode and Demo Program ( C and ASM)
..................170
7.3.2.4 Timer 2 as Programmable Clock Output and Demo Program (C and ASM)
7.3.2.5 Demo Program of Timer 2 as Timer mode (C and ASM) ...............................................173
Chapter 8. UART with Enhance Function
.............................177
8.1 Special Function Registers about UART............................................177
8.2 UART Operational Modes .................................................................180
8.2.1 Mode 0: 8-Bit Shift Register..............................................................................180
8.2.2 Mode 1: 8-Bit UART with Variable Baud Rate.................................................182
8.2.3 Mode 2: 9-Bit UART with Fixed Baud Rate.....................................................184
8.2.4 Mode3: 9-Bit UART with Variable Baud Rate..................................................186
8.3 Frame Error Detection........................................................................188
8.4 Multiprocessor Communications .......................................................188
8.5 Automatic Address Recognition.........................................................189
8.6 Buad Rates and Demo Program .........................................................191
8.7 Demo Program for UART (C and ASM)...........................................193
Chapter 9. IAP / EEPROM......................................................199
9.1 IAP / EEPROM Special Function Registers.......................................200
9.2 STC90C51RC/RD+ series Internal EEPROM Allocation Table........202
9.3 IAP/EEPROM Assembly Language Program Introduction ...............204
9.4 EEPROM Demo Program (C and ASM)............................................207
ꢃ