| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 90 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(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 |
| 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 |