16. Programmable Counter Array (PCA0)
16.1 Introduction
The programmable counter array (PCA) provides multiple channels of enhanced timer and PWM functionality while requiring less CPU
intervention than standard counter/timers. The PCA consists of a dedicated 16-bit counter/timer and one 16-bit capture/compare mod-
ule for each channel. The counter/timer is driven by a programmable timebase that has flexible external and internal clocking options.
Each capture/compare module may be configured to operate independently in one of five modes: Edge-Triggered Capture, Software
Timer, High-Speed Output, Frequency Output, or Pulse-Width Modulated (PWM) Output. Each capture/compare module has its own
associated I/O line (CEXn) which is routed through the crossbar to port I/O when enabled.
Channel 2
Mode Control
Capture / Compare
Channel 1
Mode Control
Capture / Compare
PCA0
ECI
CEX0
EXTCLK / 8
L-F Oscillator / 8
Timer 0 Overflow
SYSCLK
SYSCLK / 4
SYSCLK / 12
Polarity Select
Control /
Configuration
Comparator
Clear Enable
Output
Drive
Logic
PCA Counter
Channel 0
Mode Control
Capture / Compare
CEX1
CEX2
Comparator 0 Output
Interrupt
Logic
Sync
Sync
Sync
SYSCLK
Figure 16.1. PCA Block Diagram
EFM8UB3 Reference Manual
Programmable Counter Array (PCA0)
silabs.com
| Building a more connected world.
Rev. 0.2 | 188