| 数据搜索系统,热门电子元器件搜索 |
|
HT69F360 数据表(PDF) 145 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 数据表(HTML) 145 Page - Holtek Semiconductor Inc |
|
145 / 235 page ![]() Rev. 1.30 144 �ove��e� 1�� �01� Rev. 1.30 145 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM Capture Input Mode ToselectthismodebitsPTnM1andPTnM0inthePTMnC1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalis suppliedonthePTPnorPTCKnpin,selectedbythePTnCKSbitinthePTMnC1register.Theinput pinactiveedgecanbearisingedge,afallingedgeorbothrisingandfallingedges;theactiveedge transitiontypeisselectedusingthePTnIO1andPTnIO0bitsinthePTMnC1register.Thecounter isstartedwhenthePTnONbitchangesfromlowtohighwhichisinitiatedusingtheapplication program. WhentherequirededgetransitionappearsonthePTPnorPTCKnpinthepresentvalueinthe counterwillbelatchedintotheCCRAregistersandaTMinterruptgenerated.Irrespectiveofwhat eventsoccuronthePTPnorPTCKnpinthecounterwillcontinuetofreerununtilthePTnON bitchangesfromhightolow.WhenaCCRPcomparematchoccursthecounterwillresetback tozero;inthiswaytheCCRPvaluecanbeusedtocontrolthemaximumcountervalue.Whena CCRPcomparematchoccursfromComparatorP,aTMinterruptwillalsobegenerated.Counting thenumberofoverflowinterruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlong pulsewidths.ThePTnIO1andPTnIO0bitscanselecttheactivetriggeredgeonthePTPnorPTCKn pintobearisingedge,fallingedgeorbothedgetypes.IfthePTnIO1andPTnIO0bitsarebothset high,thennocaptureoperationwilltakeplaceirrespectiveofwhathappensonthePTPnorPTCKn pin,howeveritmustbenotedthatthecounterwillcontinuetorun. AsthePTPnpinispinorPTCKnpinsharedwithotherfunctions,caremustbetakenifthePTMn isintheInputCaptureMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionson thispinmaycauseaninputcaptureoperationtobeexecuted.ThePTnCCLR,PTnOCandPTnPOL bitsarenotusedinthisMode. |
|
链接网址 |
| 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 |