English
Language : 

UPSD33XX Datasheet, PDF (130/231 Pages) STMicroelectronics – Fast 8032 MCU with Programmable Logic
uPSD33xx
Table 71. PCA1 Control Register PCACON1 (SFR 0BCh, Reset Value 00h)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
–
EN_PCA
EOVFI
PCAIDLE
–
–
CLK_SEL[1:0]
Details
Bit
Symbol
Function
0 = PCA counter is disabled
1 = PCA counter is enabled
6
EN_PCA
EN_PCA Counter Run Control Bit. Set with software to turn the PCA counter on. Must
be cleared with software to turn the PCA counter off.
5
EOVFI 1 = Enable Counter Overflow Interrupt if overflow flag (OVF) is set
4
PCAIDLE
0 = PCA operates when CPU is in Idle Mode
1 = PCA stops running when CPU is in Idle Mode
3
–
Reserved
2
10B_PWM
0 = Select 16-bit PWM
1 = Select 10-bit PWM
1-0
CLK_SEL
[1:0]
00 Select Prescaler clock as Counter clock
01 Select Timer 0 Overflow
10 Select External Clock pin (P4.7 for PCA1) (MAX clock rate = fOSC/4)
130/231