C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D
10
Rev. 1.3
Figure 19.1. UART1 Block Diagram ....................................................................... 213
Figure 19.2. UART1 Timing Without Parity or Extra Bit.......................................... 215
Figure 19.3. UART1 Timing With Parity ................................................................. 215
Figure 19.4. UART1 Timing With Extra Bit ............................................................. 215
Figure 19.5. Typical UART Interconnect Diagram.................................................. 216
Figure 19.6. UART Multi-Processor Mode Interconnect Diagram .......................... 218
20. Enhanced Serial Peripheral Interface (SPI0)
Figure 20.1. SPI Block Diagram ............................................................................. 222
Figure 20.2. Multiple-Master Mode Connection Diagram ....................................... 225
Figure 20.3. 3-Wire Single Master and Slave Mode Connection Diagram ............. 225
Figure 20.4. 4-Wire Single Master Mode and Slave Mode Connection Diagram ... 225
Figure 20.5. Master Mode Data/Clock Timing ........................................................ 227
Figure 20.6. Slave Mode Data/Clock Timing (CKPHA = 0) .................................... 228
Figure 20.7. Slave Mode Data/Clock Timing (CKPHA = 1) .................................... 228
Figure 20.8. SPI Master Timing (CKPHA = 0)........................................................ 232
Figure 20.9. SPI Master Timing (CKPHA = 1)........................................................ 232
Figure 20.10. SPI Slave Timing (CKPHA = 0)........................................................ 233
Figure 20.11. SPI Slave Timing (CKPHA = 1)........................................................ 233
21. Timers
Figure 21.1. T0 Mode 0 Block Diagram.................................................................. 236
Figure 21.2. T0 Mode 2 Block Diagram.................................................................. 237
Figure 21.3. T0 Mode 3 Block Diagram.................................................................. 238
Figure 21.4. Timer 2 16-Bit Mode Block Diagram .................................................. 243
Figure 21.5. Timer 2 8-Bit Mode Block Diagram .................................................... 244
Figure 21.6. Timer 2 Capture Mode (T2SPLIT = ‘0’) .............................................. 245
Figure 21.7. Timer 2 Capture Mode (T2SPLIT = ‘1’) .............................................. 246
Figure 21.8. Timer 3 16-Bit Mode Block Diagram .................................................. 249
Figure 21.9. Timer 3 8-Bit Mode Block Diagram .................................................... 250
Figure 21.10. Timer 3 Capture Mode (T3SPLIT = ‘0’) ............................................ 251
Figure 21.11. Timer 3 Capture Mode (T3SPLIT = ‘1’) ............................................ 252
22. Programmable Counter Array (PCA0)
Figure 22.1. PCA Block Diagram............................................................................ 255
Figure 22.2. PCA Counter/Timer Block Diagram.................................................... 256
Figure 22.3. PCA Interrupt Block Diagram ............................................................. 257
Figure 22.4. PCA Capture Mode Diagram.............................................................. 258
Figure 22.5. PCA Software Timer Mode Diagram .................................................. 259
Figure 22.6. PCA High Speed Output Mode Diagram............................................ 260
Figure 22.7. PCA Frequency Output Mode ............................................................ 261
Figure 22.8. PCA 8-Bit PWM Mode Diagram ......................................................... 262
Figure 22.9. PCA 16-Bit PWM Mode...................................................................... 263
Figure 22.10. PCA Module 4 with Watchdog Timer Enabled ................................. 264
23. C2 Interface
Figure 23.1. Typical C2 Pin Sharing....................................................................... 273