| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 143 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 143 Page - Holtek Semiconductor Inc |
|
143 / 298 page ![]() Rev. 1.90 14� �e���a�� 18� �01� Rev. 1.90 14� �e���a�� 18� �01� HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM Capture Input Mode ToselectthismodebitsTnM1andTnM0intheTMnC1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalis suppliedontheTPn_0orTPn_1pin,whoseactiveedgecanbeeitherarisingedge,afallingedgeor bothrisingandfallingedges;theactiveedgetransitiontypeisselectedusingtheTnIO1andTnIO0 bitsintheTMnC1register.ThecounterisstartedwhentheTnONbitchangesfromlowtohigh whichisinitiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsontheTPn_0orTPn_1pinthepresentvalueinthe counterwillbelatchedintotheCCRAregistersandaTMinterruptgenerated.Irrespectiveofwhat eventsoccurontheTPn_0orTPn_1pinthecounterwillcontinuetofreerununtiltheTnONbit changesfromhightolow.WhenaCCRPcomparematchoccursthecounterwillresetbacktozero; inthiswaytheCCRPvaluecanbeusedtocontrolthemaximumcountervalue.WhenaCCRP comparematchoccursfromComparatorP,aTMinterruptwillalsobegenerated.Countingthe numberofoverflowinterruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlong pulsewidths.TheTnIO1andTnIO0bitscanselecttheactivetriggeredgeontheTPn_0orTPn_1 pintobearisingedge,fallingedgeorbothedgetypes.IftheTnIO1andTnIO0bitsarebothset high,thennocaptureoperationwilltakeplaceirrespectiveofwhathappensontheTPn_0orTPn_1 pin,howeveritmustbenotedthatthecounterwillcontinuetorun. AstheTPn_0orTPn_1pinispinsharedwithotherfunctions,caremustbetakeniftheTMisinthe InputCaptureMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionsonthispin maycauseaninputcaptureoperationtobeexecuted.TheTnCCLRandTnDPXbitsarenotusedin thisMode. |
|
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 |