HT68F04 Holtek Semiconductor, HT68F04 Datasheet - Page 105

no-image

HT68F04

Manufacturer Part Number
HT68F04
Description
Small Package Enhanced Flash Type 8-Bit MCU
Manufacturer
Holtek Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT68F04
Manufacturer:
ST
Quantity:
14 500
·
Rev. 1.00
CPC Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2~1
Bit 0
Name
POR
R/W
Bit
CSEL
CSEL: Select Comparator pins or I/O pins
This is the Comparator pin or I/O pin select bit. If the bit is high the comparator will be selected
and the two comparator input pins will be enabled. As a result, these two pins will lose their I/O
pin functions. Any pull-high configuration options associated with the comparator shared pins will
also be automatically disconnected.
CEN: Comparator On/Off control
This is the Comparator on/off control bit. If the bit is zero the comparator will be switched off
and no power consumed even if analog voltages are applied to its inputs. For power sensitive
applications this bit should be cleared to zero if the comparator is not used or before the device
enters the SLEEP or IDLE mode.
CPOL: Comparator output polarity
This is the comparator polarity bit. If the bit is zero then the COUT bit will reflect the
non-inverted output condition of the comparator. If the bit is high the comparator COUT bit will
be inverted.
COUT: Comparator output bit
This bit stores the comparator output bit. The polarity of the bit is determined by the voltages
on the comparator inputs and by the condition of the CPOL bit.
CS: Output path select
This is the comparator output path select control bit. If the bit is set to ²0² and the CSEL bit is
²1² the comparator output is connected to an external CX pin. If the bit is set to ²1² or the
CSEL bit is ²0² the comparator output signal is only used internally by the device allowing the
shared comparator output pin to retain its normal I/O operation.
unimplemented, read as ²0²
CHYEN: Hysteresis Control
This is the hysteresis control bit and if set high will apply a limited amount of hysteresis to the
comparator, as specified in the Comparator Electrical Characteristics table. The positive feedback
induced by hysteresis reduces the effect of spurious switching near the comparator threshold.
R/W
0: I/O pin select
1: Comparator pin select
0: Off
1: On
0: output not inverted
1: output inverted
CPOL=0
0: C+ < C-
1: C+ > C-
CPOL=1
0: C+ > C-
1: C+ < C-
0: CX pin
1: Internal use
0: Off
1: On
7
1
CEN
R/W
6
0
CPOL
R/W
5
0
COUT
105
HT66F03/HT66F04/HT68F03/HT68F04
R
4
0
COS
R/W
3
0
¾
¾
¾
2
¾
¾
¾
1
April 16, 2010
www.DataSheet4U.com
CHYEN
R/W
0
1

Related parts for HT68F04