SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
CCU2 Capture input source 2
CCU2 = 0 - external Pin to be CCU2 capture input source
CCU2 = 1 - analog comparator 1 output to be CCU2 capture input source
CCU1 Capture input source 1
CCU1= 0 - external Pin to be CCU1 capture input source
CCU1= 1 - analog comparator 0 output to be CCU1 capture input source
CCUINF[1:0] CCU capture input Noise Filter(CCU1,CCU2)
CCUINF[1:0] = 00 - 1 consecutive same value recognize as valid data.
CCUINF[1:0] = 01 - 2 consecutive same value recognize as valid data.
CCUINF[1:0] = 10 - 4 consecutive same value recognize as valid data.
CCUINF[1:0] = 11 - 8 consecutive same value recognize as valid data.
P42CC [1:0] Capture/Compare port select function.
00: Capture/Compare function on Port1.
01: Capture/Compare function on Port2
10: Capture/Compare function on Port4 (The TQFP 64L Package Only)
11: reserved
Note: External pin CC0 and CC3 only capture input source.
CRC Auto Reload For:
Mode 0 (Auto reload)
Mode 1 (negative edge of reload)
CRCH
TH2
CRCL
TL2
Overflow
Timer2
TF2
(16 bits Timer)
CCI1
CCF1
CC1H
CC2H
CC3H
CC1L
CC2L
CC3L
M
U
X
CC1
Noise
Filter
Prescaler
Fosc
SFR(Cmp0o)
SFR(ET2)
CCUINF[1:0]
CCUINFCLK[1:0]
CCU1
Source
CCI2
Timer2
Interrupt
CCF2
T2CON.T2PS[2:0]
M
U
X
CC2
Noise
Filter
SFR(Cmp1o)
CCUINF[1:0]
CCUINFCLK[1:0]
CCU2
Source
CCI3
CCF3
M
U
X
CC3
Noise
Filter
SFR(Cmp2o)
CCUINF[1:0]
CCUINFCLK[1:0]
CCU3
Source
CC0
CCI0
CRCH
CRCL
CCF0
Fig. 8-1: CCU action diagram
8.2 Timer 2 Control Register( T2CON )
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071 Ver A SM59A16U1 04/12/2013
- 53 -