| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT69F240 bảng dữ liệu(PDF) 90 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 bảng dữ liệu(HTML) 90 Page - Holtek Semiconductor Inc |
|
90 / 172 page ![]() Rev. 1.20 90 �a��� 2�� 201� Rev. 1.20 91 �a��� 2�� 201� HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver Capture Input Mode ToselectthismodebitsPTM1andPTM0inthePTMC1registershouldbesetto01respectively.This modeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounterandcan thereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalissuppliedon thePTPIorPTCKpin,selectedbythePTCAPTSbitinthePTMC0register.Thecaptureinputpinactive edgecanbeeitherarisingedge,afallingedgeorbothrisingandfallingedges;theactiveedgetransition typeisselectedusingthePTIO1andPTIO0bitsinthePTMC1register.Thecounterisstartedwhenthe PTONbitchangesfromlowtohighwhichisinitiatedusingtheapplicationprogram. WhentherequirededgetransitionappearsonthePTPIorPTCKpinthepresentvalueinthecounterwill belatchedintotheCCRAregistersandaTMinterruptgenerated.Irrespectiveofwhateventsoccuron thePTPIorPTCKpinthecounterwillcontinuetofreerununtilthePTONbitchangesfromhightolow. WhenaCCRPcomparematchoccursthecounterwillresetbacktozero;inthiswaytheCCRPvaluecan beusedtocontrolthemaximumcountervalue.WhenaCCRPcomparematchoccursfromComparatorP, aTMinterruptwillalsobegenerated.CountingthenumberofoverflowinterruptsignalsfromtheCCRP canbeausefulmethodinmeasuringlongpulsewidths.ThePTIO1andPTIO0bitscanselecttheactive triggeredgeonthePTPIorPTCKpintobearisingedge,fallingedgeorbothedgetypes.IfthePTIO1 andPTIO0bitsarebothsethigh,thennocaptureoperationwilltakeplaceirrespectiveofwhathappens onthePTPIorPTCKpin,howeveritmustbenotedthatthecounterwillcontinuetorun. AsthePTPIorPTCKpinispinsharedwithotherfunctions,caremustbetakeniftheTMisinthe CaptureInputMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionsonthispinmay causeaninputcaptureoperationtobeexecuted.ThePTCCLR,PTOCandPTPOLbitsarenotusedin thisMode. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |