Rev. 1.71
94
April 11, 2017
Rev. 1.71
95
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
CCRP
CCRA
PTnON
PTnPAU
PTnPOL
CCRP Int. Flag
PTMPnF
CCRA Int. Flag
PTMAnF
PTM O/P Pin
(PTnOC=1)
Time
Counter stopped
by CCRA
Pause
Resume
Counter Stops
by software
Counter Reset when
PTnON returns high
PTnM [1:0] = 10 ; PTnIO [1:0] = 11
Pulse Width
set by CCRA
Output Inverts
when PTnPOL = 1
No CCRP Interrupts
generated
PTM O/P Pin
(PTnOC=0)
PTCKn pin
Software
Trigger
Cleared by
CCRA match
PTCKn pin
Trigger
Auto. set by
PTCKn pin
Software
Trigger
Software
Clear
Software
Trigger
Software
Trigger
Single Pulse Mode
Note: 1. Counter stopped by CCRA
2. CCRP is not used
3. The pulse is triggered by the
P
TCK
n
pin or by setting the
PTn
ON bit high
4. A
P
TCK
n
pin active edge will automatically set the
PTn
ON bit high
5. In the Single Pulse Mode,
PTn
IO [1:0] must be set to “11” and can not be changed.