| поискавой системы для электроныых деталей |
|
HT67F488 датащи(PDF) 79 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F488 датащи(HTML) 79 Page - Holtek Semiconductor Inc |
|
79 / 171 page ![]() Rev. 1.60 79 �ove��e� ��� �016 HT67F488/HT67F489 TinyPowerTM A/D Flash MCU with LCD & EEPROM Capture Input Mode ToselectthismodebitsTnM1andTnM0intheTMnC1registershouldbesetto01respectively. Thismodeenablesexternalsignalstocaptureandstorethepresentvalueoftheinternalcounter andcanthereforebeusedforapplicationssuchaspulsewidthmeasurements.Theexternalsignalis suppliedontheTPn_0,TPn_1orTCKnpin,selectedbytheTnCAPTSbitintheTMnC0register. Theinputpinactiveedgecanbeeitherarisingedge,afallingedgeorbothrisingandfallingedges; theactiveedgetransitiontypeisselectedusingtheTnIO1andTnIO0bitsintheTMnC1register. ThecounterisstartedwhentheTnONbitchangesfromlowtohighwhichisinitiatedusingthe applicationprogram. WhentherequirededgetransitionappearsontheTPn_0,TPn_1orTCKnpinthepresentvaluein thecounterwillbelatchedintotheCCRAregisterandaTMinterruptgenerated.Irrespectiveof whateventsoccurontheTPn_0,TPn_1orTCKnpinthecounterwillcontinuetofreerununtilthe TnONbitchangesfromhightolow.WhenaCCRPcomparematchoccursthecounterwillreset backtozero;inthiswaytheCCRPvaluecanbeusedtocontrolthemaximumcountervalue.When aCCRPcomparematchoccursfromComparatorP,aTMinterruptwillalsobegenerated.Counting thenumberofoverflowinterruptsignalsfromtheCCRPcanbeausefulmethodinmeasuringlong pulsewidths.TheTnIO1andTnIO0bitscanselecttheactivetriggeredgeontheTPn_0,TPn_1 orTCKnpintobearisingedge,fallingedgeorbothedgetypes.IftheTnIO1andTnIO0bitsare bothsethigh,thennocaptureoperationwilltakeplaceirrespectiveofwhathappensontheTPn_0, TPn_1orTCKnpin,howeveritmustbenotedthatthecounterwillcontinuetorun. AstheTPn_0,TPn_1orTCKnpinispinsharedwithotherfunctions,caremustbetakeniftheTMn isintheCaptureInputMode.Thisisbecauseifthepinissetupasanoutput,thenanytransitionson thispinmaycauseaninputcaptureoperationtobeexecuted.TheTnCCLR,TnOCandTnPOLbits arenotusedinthisMode. |
|
ссылки 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 |