Rev. 1.71
96
April 11, 2017
Rev. 1.71
97
April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
Counter Value
YY
CCRP
PTnON
PTnPAU
CCRP Int. Flag
PTMPnF
CCRA Int. Flag
PTMAnF
CCRA
Value
Time
Counter cleared
by CCRP
Pause
Resume
Counter
Reset
PTnM [1:0] = 01
PTM capture
pin PTPnI
or PTCKn
XX
Counter
Stop
PTnIO [1:0]
Value
XX
YY
XX
YY
Active
edge
Active
edge
Active edge
00
–
Rising edge
01
–
Falling edge 10
–
Both edges
11
–
Disable Capture
Capture Input Mode (n=0 or 1)
Note: 1.
PTn
M[1:0] = 01 and active edge set by the
PTn
IO[1:0] bits
2. A TM Capture input pin active edge transfers counter value to CCRA
3. The
PTn
CCLR bit is not used
4. No output function –
PTn
OC and
PTn
POL bits are not used
5. CCRP determines the counter value and the counter has a maximum count value when
CCRP is equal to zero