ST7MC1xx/ST7MC2xx
10.2 PWM AUTO-RELOAD TIMER (ART)
10.2.1 Introduction
The Pulse Width Modulated Auto-Reload Timer
on-chip peripheral consists of an 8-bit auto reload
counter with compare/capture capabilities and of a
7-bit prescaler clock source.
These resources allow five possible operating
modes:
– Generation of up to 4 independent PWM signals
– Output compare and Time base interrupt
– Up to two input capture functions
– External event detector
– Up to two external interrupt sources
The three first modes can be used together with a
single counter frequency.
The timer can be used to wake up the MCU from
Wait and Halt modes.
Figure 38. PWM Auto-Reload Timer Block Diagram
PWMCR
OEx
PWMx
PORT
ALTERNATE
FUNCTION
OPx
POLARITY
CONTROL
OCRx
REGISTER
LOAD
COMPARE
DCRx
REGISTER
ARR
REGISTER
8-BIT COUNTER
(CAR REGISTER)
LOAD
ARTICx
INPUT CAPTURE
CONTROL
LOAD
ICRx
REGISTER
ARTCLK
ICSx
ICIEx
ICFx
ICCSR
fEXT
fCPU
fCOUNTER
MUX
fINPUT
PROGRAMMABLE
PRESCALER
ICx INTERRUPT
EXCL CC2 CC1 CC0 TCE FCRL OIE OVF ARTCSR
OVF INTERRUPT
67/309
1