EasyManuals Logo

Holtek HT66F0175 User Manual

Default Icon
207 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #147 background imageLoading...
Page #147 background image
Rev. 1.50 146 August 28, 2017 Rev. 1.50 147 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
CPC Register
Bit 7 6 5 4 3 2 1 0
Name CSEL CEN CPOL COUT COS CMPEG1 CMPEG0 CHYEN
R/W R/W R/W R/W R R/W R/W R/W R/W
POR 1 0 0 0 0 0 0 1
Bit7 CSEL:SelectComparatorpinsorI/Opins
0:I/Opinselected
1:ComparatorinputpinsC+andC-selected
ThisistheComparatorinputpinorI/Opinselectbit.Ifthebitishigh,thecomparator
inputpinswillbeenabled.Asaresult,thesetwopinswilllosetheirI/Opinfunctions.
Anypull-highcongurationoptionsassociatedwiththecomparatorsharedpinswill
alsobeautomaticallydisconnected.
Bit6 CEN:ComparatorON/Offcontrol
0:Off
1:On
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.
Bit5 CPOL:ComparatorOutputpolarity
0:Outputnotinverted
1:Outputinverted
Thisisthecomparatorpolaritybit.IfthebitiszerothentheCOUTbitwillreect
thenon-invertedoutputconditionofthecomparator.Ifthebitishighthecomparator
COUTbitwillbeinverted.
Bit4 COUT:ComparatorOutputbit
CPOL=0
0:C+<C-
1:C+>C-
CPOL=1
0:C+>C-
1:C+<C-
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.
Bit3 COS:ComparatorOutputpathselect
0:CXpinselected(compareoutputcanoutputtoCXpin)
1:I/Opinselected(compareoutputonlyinternaluse)
Bit2~1 CMPEG1~CMPEG0:Comparatoroutputinterrupttriggeredgeselect
00:risingedge→comparatorinterrupttriggersignalgeneratedifCOUTchanged
statefrom0to1
01:fallingedge→comparatorinterrupttriggersignalgeneratedifCOUTchanged
statefrom1to0
1x:bothedge→comparatorinterrupttriggersignalgeneratedifCOUTchanged
statefrom0to1or1to0
Bit0 CHYEN:ComparatorHysteresisfunctioncontrol
0:Off
1:On
Thisisthehysteresiscontrolbitandifsethighwillapplyalimitedamountof
hysteresistothecomparator,asspeciedintheComparatorElectricalCharacteristics
table.Thepositivefeedbackinducedbyhysteresisreducestheeffectofspurious
switchingnearthecomparatorthreshold.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Holtek HT66F0175 and is the answer not in the manual?

Holtek HT66F0175 Specifications

General IconGeneral
BrandHoltek
ModelHT66F0175
CategoryStorage
LanguageEnglish