HT68F14 HOLTEK [Holtek Semiconductor Inc], HT68F14 Datasheet - Page 95

no-image

HT68F14

Manufacturer Part Number
HT68F14
Description
Enhanced I/O Flash Type MCU
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT68F14
Quantity:
310
Note:
Rev. 1.10
Flag TnPF
Flag TnBF
1. With TnCCLR=0 a Comparator P match will clear the counter
2. The TPnB output pin is controlled only by the TnBF flag
3. The output pin is reset to its initial state by a TnON bit rising edge
CCRP Int.
CCRB Int.
TPnB O/P
TnBPOL
TnPAU
0x3FF
CCRP
CCRB
TnON
Counter Value
Pin
As the name of the mode suggests, after a comparison is made, the TM output pin, will change state.
The TM output pin condition however only changes state when a TnAF or TnBF interrupt request flag
is generated after a compare match occurs from Comparator A or Comparator B. The TnPF interrupt
request flag, generated from a compare match from Comparator P, will have no effect on the TM
output pin. The way in which the TM output pin changes state is determined by the condition of the
TnAIO1 and TnAIO0 bits in the TMnC1 register for ETM CCRA, and the TnBIO1 and TnBIO0 bits
in the TMnC2 register for ETM CCRB. The TM output pin can be selected using the TnAIO1,
TnAIO0 bits (for the TPnA pin) and TnBIO1, TnBIO0 bits (for the TPnB_0, TPnB_1 or TPnB_2 pins)
to go high, to go low or to toggle from its present condition when a compare match occurs from
Comparator A or a compare match occurs from Comparator B. The initial condition of the TM output
pin, which is setup after the TnON bit changes from low to high, is setup using the TnAOC or TnBOC
bit for TPnA or TPnB_0, TPnB_1, TPnB_2 output pins. Note that if the TnAIO1, TnAIO0 and
TnBIO1, TnBIO0 bits are zero then no pin change will take place.
Output pin set to
initial Level Low
if TnBOC=0
CCRP=0
ETM CCRB Compare Match Output Mode -- TnCCLR = 0
Counter overflow
Here TnBIO [1:0] = 11
Toggle Output select
Output Toggle with
TnBF flag
CCRP > 0
Note TnBIO [1:0] = 10
Active High Output select
CCRP > 0
Counter cleared by CCRP value
95
Enhanced I/O Flash Type MCU
Output not affected by TnBF
flag. Remains High until reset
by TnON bit
HT68F13/HT68F14/HT68F15
Pause
Resume
TnCCLR = 0; TnBM [1:0] = 00
Stop
Output controlled by
other pin-shared function
Counter
Restart
Output Pin
Reset to Initial value
Output Inverts
when TnBPOL is high
February 9, 2011
Time

Related parts for HT68F14