C8051F340/1/2/3/4/5/6/7
22. Programmable Counter Array (PCA0)
The Programmable Counter Array (PCA0) provides enhanced timer functionality while requiring less CPU intervention than the standard 8051 counter/timers. The PCA consists of a dedicated
Important Note: The PCA Module 4 may be used as a watchdog timer (WDT), and is enabled in this mode following a system reset. Access to certain PCA registers is restricted while WDT mode is enabled. See Section 22.3 for details.
| SYSCLK/12 |
|
|
|
|
|
| SYSCLK/4 |
|
|
|
|
|
| Timer 0 Overflow | PCA |
|
| ||
|
|
|
|
| ||
| ECI |
| CLOCK |
|
| |
|
|
|
|
| ||
| SYSCLK |
| MUX |
|
|
|
|
|
|
|
|
| |
| External Clock/8 |
|
|
|
|
|
| Capture/Compare | Capture/Compare | Capture/Compare | Capture/Compare | Capture/Compare | |
| Module 0 |
| Module 1 | Module 2 | Module 3 | Module 4 / WDT |
ECI | CEX0 |
| CEX1 | CEX2 | CEX3 | CEX4 |
|
|
| Crossbar |
|
|
Port I/O
Figure 22.1. PCA Block Diagram
Rev. 0.5 | 263 |