| поискавой системы для электроныых деталей |
|
HT66F319 датащи(PDF) 92 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F319 датащи(HTML) 92 Page - Holtek Semiconductor Inc |
|
92 / 185 page ![]() Rev. 1.20 92 De�e��e� 0�� 201� Rev. 1.20 93 De�e��e� 0�� 201� HT66F319 Enhanced A/D Flash MCU with EEPROM and UART HT66F319 Enhanced A/D Flash MCU with EEPROM and UART Capture Input Mode ToselectthismodebitsTnM1andTnM0intheTMnC1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignal issuppliedontheTPnpin,whoseactiveedgecanbearisingedge,afallingedgeorbothrising andfallingedges;theactiveedgetransitiontypeisselectedusingtheTnIO1andTnIO0bitsin theTMnC1register.ThecounterisstartedwhentheTnONbitchangesfromlowtohighwhichis initiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsontheTPnpinthepresentvalueinthecounterwillbe latchedintotheCCRAregistersandaTMinterruptgenerated.Irrespectiveofwhateventsoccuron theTPnpinthecounterwillcontinuetofreerununtiltheTnONbitchangesfromhightolow.When aCCRPcomparematchoccursthecounterwillresetbacktozero;inthiswaytheCCRPvalue canbeusedtocontrolthemaximumcountervalue.WhenaCCRPcomparematchoccursfrom ComparatorP,aTMinterruptwillalsobegenerated.Countingthenumberofoverflowinterrupt signalsfromtheCCRPcanbeausefulmethodinmeasuringlongpulsewidths.TheTnIO1and TnIO0bitscanselecttheactivetriggeredgeontheTPnpintobearisingedge,fallingedgeorboth edgetypes.IftheTnIO1andTnIO0bitsarebothsethigh,thennocaptureoperationwilltakeplace irrespectiveofwhathappensontheTPnpin,howeveritmustbenotedthatthecounterwillcontinue torun. AstheTPnpinispinsharedwithotherfunctions,caremustbetakeniftheTMisintheInput CaptureMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionsonthispinmay causeaninputcaptureoperationtobeexecuted.TheTnCCLRandTnDPXbitsarenotusedinthis Mode. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |