| 전자부품 데이터시트 검색엔진 |
|
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 |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |