| Electronic Components Datasheet Search |
|
HT66F019 Datasheet(PDF) 112 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F019 Datasheet(HTML) 112 Page - Holtek Semiconductor Inc |
|
112 / 175 page ![]() Rev. 1.00 11� De�e��e� 01� �01� Rev. 1.00 113 De�e��e� 01� �01� HT66F019 A/D Flash MCU with EEPROM HT66F019 A/D Flash MCU with EEPROM Comparator Ananalogcomparatoriscontainedwithinthedevice.Thecomparatorfunctionoffersflexibility viatheirregistercontrolledfeaturessuchaspower-down,polarityselect,hysteresisetc.Insharing theirpinswithnormalI/OpinsthecomparatorsdonotwastepreciousI/Opinsiftherefunctionsare otherwiseunused. C+ CPOL COUT CINT COS CX C- - + Comparator Comparator Operation Thedevicecontainsacomparatorfunctionwhichisusedtocomparetwoanalogvoltagesand provideanoutputbasedontheirinputdifference.Fullcontrolovertheinternalcomparatoris providedviathecontrolregister,CPC.Thecomparatoroutputisrecordedviaabitinthecontrol register,butcanalsobetransferredoutputontoasharedI/Opin.Additionalcomparatorfunctions includepolarity,hysteresisfunctionandpowerdowncontrol. Anypull-highresistorsconnectedtothesharedcomparatorinputpinswillbeautomatically disconnectedwhenthecorrespondingcomparatorfunctionalpinsareselected.Asthecomparator inputsapproachtheirswitchinglevel,somespuriousoutputsignalsmaybegeneratedonthe comparatoroutputduetotheslowrisingorfallingnatureoftheinputsignals.Thiscanbeminimised bythehysteresisfunctionwhichwillapplyasmallamountofpositivefeedbacktothecomparator. Ideallythecomparatorshouldswitchatthepointwherethepositiveandnegativeinputssignalsare atthesamevoltagelevel.However,unavoidableinputoffsetsintroducesomeuncertaintieshere.The offsetcalibrationfunction,ifexecuted,willminimizetheswitchingoffsetvalue. Comparator Interrupt Thecomparatorpossessesitsowninterruptfunction.Whenthecomparatoroutputchangesstate, itsrelevantinterruptflagwillbeset,andifthecorrespondinginterruptenablebitisset,thenajump toitsrelevantinterruptvectorwillbeexecuted.NotethatitisthechangingstateoftheCOUTbit andnottheoutputpinwhichgeneratesaninterrupt.IfthemicrocontrollerisintheSLEEPorIDLE ModeandtheComparatorisenabled,theniftheexternalinputlinescausetheComparatoroutputto changestate,theresultinggeneratedinterruptflagwillalsogenerateawake-up.Ifitisrequiredto disableawake-upfromoccurring,thentheinterruptflagshouldbefirstsethighbeforeenteringthe SLEEPorIDLEMode. Programming Considerations Ifthecomparatorisenabled,itwillremainactivewhenthemicrocontrollerenterstheSLEEPor IDLEMode,howeverasitwillconsumeacertainamountofpower,theusermaywishtoconsider disablingitbeforetheSLEEPorIDLEModeisentered.Ascomparatorpinsaresharedwithnormal I/OpinstheI/Oregistersforthesepinswillbereadaszero(portcontrolregisteris"1")orreadas portdataregistervalue(portcontrolregisteris"0")ifthecomparatorfunctionisenabled. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |