| Electronic Components Datasheet Search |
|
HT66F25D Datasheet(PDF) 121 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F25D Datasheet(HTML) 121 Page - Holtek Semiconductor Inc |
|
121 / 177 page ![]() A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D Rev. 1.00 1�0 ���� ��� �01� Rev. 1.00 1�1 ���� ��� �01� Capture Input Mode ToselectthismodebitsTnAM1,TnAM0andTnBM1,TnBM0intheTMnC1andTMnC2registers shouldbesetto01respectively.Thismodeenablesexternalsignalstocaptureandstorethe presentvalueoftheinternalcounterandcanthereforebeusedforapplicationssuchaspulsewidth measurements.TheexternalsignalissuppliedontheTPnA_0,TPnA_1andTPnB_0,TPnB_1, TPnB_2pins,whoseactiveedgecanbeeitherarisingedge,afallingedgeorbothrisingandfalling edges;theactiveedgetransitiontypeisselectedusingtheTnAIO1,TnAIO0andTnBIO1,TnBIO0 bitsintheTMnC1andTMnC2registers.ThecounterisstartedwhentheTnONbitchangesfrom lowtohighwhichisinitiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsontheTPnA_0,TPnA_1andTPnB_0,TPnB_1,TPnB_2 pinsthepresentvalueinthecounterwillbelatchedintotheCCRAandCCRBregistersanda TMinterruptgenerated.IrrespectiveofwhateventsoccurontheTPnA_0,TPnA_1andTPnB_0, TPnB_1,TPnB_2pinsthecounterwillcontinuetofreerununtiltheTnONbitchangesfromhigh tolow.WhenaCCRPcomparematchoccursthecounterwillresetbacktozero;inthiswaythe CCRPvaluecanbeusedtocontrolthemaximumcountervalue.WhenaCCRPcomparematch occursfromComparatorP,aTMinterruptwillalsobegenerated.Countingthenumberofoverflow interruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlongpulsewidths.The TnAIO1,TnAIO0andTnBIO1,TnBIO0bitscanselecttheactivetriggeredgeontheTPnA_0, TPnA_1andTPnB_0,TPnB_1,TPnB_2pinstobearisingedge,fallingedgeorbothedgetypes. IftheTnAIO1,TnAIO0andTnBIO1,TnBIO0bitsarebothsethigh,thennocaptureoperationwill takeplaceirrespectiveofwhathappensontheTPnA_0,TPnA_1andTPnB_0,TPnB_1,TPnB_2 pins,howeveritmustbenotedthatthecounterwillcontinuetorun. AstheTPnA_0,TPnA_1andTPnB_0,TPnB_1,TPnB_2pinsarepinsharedwithotherfunctions, caremustbetakeniftheTMisintheCaptureInputMode.Thisisbecauseifthepinissetupasan output,thenanytransitionsonthispinmaycauseaninputcaptureoperationtobeexecuted.The TnCCLR,TnAOC,TnBOC,TnAPOLandTnBPOLbitsarenotusedinthismode. |
|
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 |