Data Sheet
FlashFlex51 MCU
SST89E52RD2/RD / SST89E54RD2/RD / SST89E58RD2/RD
SST89V52RD2/RD / SST89V54RD2/RD / SST89V58RD2/RD
49
©2006 Silicon Storage Technology, Inc. S71255-05-000 5/06
TABLE 8-5: PCA Module Modes
Without Interrupt enabled
-
1
ECOMy
2
CAPPy
2
CAPNy
2
MATy
2
TOGy
2
PWMy
2
ECCFy
2
Module Code
- 0 0 0 0 0 0 0 No Operation
- 0 1 0 0 0 0 0 16-bit capture on positive-edge trigger at CEX[4:0]
- 0 0 1 0 0 0 0 16-bit capture on negative-edge trigger at
CEX[4:0]
- 0 1 1 0 0 0 0 16-bit capture on positive/negative-edge
trigger at CEX[4:0]
- 1 0 0 1 0 0 0 Compare: software timer
- 1 0 0 1 1 0 0 Compare: high-speed output
- 1 0 0 0 0 1 0 Compare: 8-bit PWM
-1 0 0 10 or 1
3
0 0 Compare: PCA WDT (CCAPM4 only)
4
T8-5.0 1255
1. User should not write ‘1’s to reserved bits. The value read from a reserved bit is indeterminate.
2. y = 0, 1, 2, 3, 4
3. A 0 disables toggle function. A 1 enables toggle function on CEX[4:0] pin.
4. For PCA WDT mode, also set the WDTE bit in the CMOD register to enable the reset output signal.
TABLE 8-6: PCA Module Modes
With Interrupt enabled
-
1
1. User should not write ‘1’s to reserved bits. The value read from a reserved bit is indeterminate.
ECOMy
2
2. y = 0, 1, 2, 3, 4
CAPPy
2
CAPNy
2
MATy
2
TOGy
2
PWMy
2
ECCFy
2
Module Code
- 0 1 0 0 0 0 1 16-bit capture on positive-edge trigger at CEX[4:0]
- 0 0 1 0 0 0 1 16-bit capture on negative-edge trigger at CEX[4:0]
- 0 1 1 0 0 0 1 16-bit capture on positive/negative-edge
trigger at CEX[4:0]
- 1 0 0 1 0 0 1 Compare: software timer
- 1 0 0 1 1 0 1 Compare: high-speed output
-1 0 0 0 0 1 X
3
3. No PCA interrupt is needed to generate the PWM.
Compare: 8-bit PWM
-1 0 0 10 or 1
4
4. A 0 disables toggle function. A 1 enables toggle function on CEX[4:0] pin.
0X
5
5. Enabling an interrupt for the Watchdog Timer would defeat the purpose of the Watchdog Timer.
Compare: PCA WDT (CCAPM4 only)
6
6. For PCA WDT mode, also set the WDTE bit in the CMOD register to enable the reset output signal.
T8-6.0 1255