English
Language : 

UPSD3354DV-40U6 Datasheet, PDF (160/272 Pages) STMicroelectronics – fast 8032 MCU with programmable logic
Programmable counter array (PCA) with PWM
UPSD33xx
Table 104. PCACON0 register bit definition (continued)
Bit
Symbol
Function
5
EOVFI
1 = Enable Counter Overflow Interrupt if overflow
flag (OVF) is set
0 = PCA operates when CPU is in Idle mode
4
PCAIDLE
1 = PCA stops running when CPU is in Idle mode
3
–
Reserved
0 = Select 16-bit PWM
2
10B_PWM
1 = Select 10-bit PWM
00 Select Prescaler clock as Counter clock
1-0
CLK_SEL
01 Select Timer 0 Overflow
[1:0]
10 Select External Clock pin (P4.3 for PCA0)
(MAX clock rate = fOSC/4)
Table 105. PCA1 Control register PCACON1 (SFR 0BCh, Reset Value 00h)
t(s) Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
c –
EN_PCA EOVFI PCAIDLE
–
10B_PWM
CLK_SEL[1:0]
rodu Table 106. PCACON1 register bit definition
P Bit
Symbol
Function
te 0 = PCA counter is disabled
ole 6
EN_PCA 1 = PCA counter is enabled
EN_PCA Counter Run Control Bit. Set with software to turn the PCA
bs counter on. Must be cleared with software to turn the PCA counter off.
O 5
EOVFI 1 = Enable Counter Overflow Interrupt if overflow flag (OVF) is set
) - 0 = PCA operates when CPU is in Idle mode
4
PCAIDLE
t(s 1 = PCA stops running when CPU is in Idle mode
c 3
–
Reserved
du 0 = Select 16-bit PWM
2
10B_PWM
ro 1 = Select 10-bit PWM
P 00 Select Prescaler clock as Counter clock
CLK_SEL
te1-0
01 Select Timer 0 Overflow
[1:0]
Obsole 10 Select External Clock pin (P4.7 for PCA1) (MAX clock rate = fOSC/4)
160/272
Doc ID 9685 Rev 7