| Electronic Components Datasheet Search |
|
HT66F25D Datasheet(PDF) 98 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F25D Datasheet(HTML) 98 Page - Holtek Semiconductor Inc |
|
98 / 177 page ![]() Rev. 1.00 98 ���� ��� �01� Rev. 1.00 99 ���� ��� �01� A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D Capture Input Mode ToselectthismodebitsTnM1andTnM0intheTMnC1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalis suppliedontheTPn_0,TPn_1orTPn_2pin,whoseactiveedgecanbeeitherarisingedge,afalling edgeorbothrisingandfallingedges;theactiveedgetransitiontypeisselectedusingtheTnIO1and TnIO0bitsintheTMnC1register.ThecounterisstartedwhentheTnONbitchangesfromlowto highwhichisinitiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsontheTPn_0,TPn_1orTPn_2pin,thepresentvaluein thecounterwillbelatchedintotheCCRAregistersandaTMinterruptgenerated.Irrespectiveof whateventsoccurontheTPn_0,TPn_1orTPn_2pinthecounterwillcontinuetofreerununtilthe TnONbitchangesfromhightolow.WhenaCCRPcomparematchoccurs,thecounterwillreset backtozero;inthiswaytheCCRPvaluecanbeusedtocontrolthemaximumcountervalue.When aCCRPcomparematchoccursfromComparatorP,aTMinterruptwillalsobegenerated.Counting thenumberofoverflowinterruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlong pulsewidths.TheTnIO1andTnIO0bitscanselecttheactivetriggeredgeontheTPn_0,TPn_1 orTPn_2pintobearisingedge,fallingedgeorbothedgetypes.IftheTnIO1andTnIO0bitsare bothsethigh,thennocaptureoperationwilltakeplaceirrespectiveofwhathappensontheTPn_0, TPn_1orTPn_2pin,howeveritmustbenotedthatthecounterwillcontinuetorun. AstheTPn_0,TPn_1orTPn_2pinispinsharedwithotherfunctions,caremustbetakeniftheTM isintheInputCaptureMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionson thispinmaycauseaninputcaptureoperationtobeexecuted.TheTnCCLRandTnDPXbitsarenot usedinthisMode. |
|
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 |