データシートサーチシステム |
|
HT46R004 データシート(PDF) 43 Page - Holtek Semiconductor Inc |
|
HT46R004 データシート(HTML) 43 Page - Holtek Semiconductor Inc |
43 / 84 page Rev. 1.30 4� �an�a�� ��� �01� Rev. 1.30 43 �an�a�� ��� �01� HT46R004 Cost-Effective A/D 8-Bit OTP MCU ItshouldbenotedthatinthismodetheTimer/EventCounteriscontrolledbylogicaltransitions ontheexternaltimerpinandnotbythelogiclevel.WhentheTimer/EventCounterisfulland overflows,aninterruptsignalisgeneratedandtheTimer/EventCounterwillreloadthevaluealready loadedintothepreloadregisterandcontinuecounting.Theinterruptcanbedisabledbyensuring thattheTimer/EventCounterInterruptEnablebitinthecorrespondingInterruptControlRegister,it isresettozero. AstheTMRpinissharedwithanI/Opin,toensurethatthepinisconfiguredtooperateasapulse widthcapturepin,twothingshavetobeimplemented.ThefirstistoensurethattheOperatingMode SelectbitsintheTimerControlRegisterplacetheTimer/EventCounterinthepulsewidthcapture mode,thesecondistoensurethattheportcontrolregisterconfigurethepinasaninput. Pulse Width Capture Mode Timing Chart (T0EG=0) Prescaler BitsT0PSC2~T0PSC0oftheTMR0Cregistercanbeusedtodefineadivisionratiofortheinternal clocksourceoftheTimer/EventCounterenablinglongertimeoutperiodstobeset. PFD Function TheProgrammableFrequencyDividerprovidesameansofproducingavariablefrequencyoutput suitableforapplication,suchassomeinterfacesrequiringaprecisefrequencygenerator. TheTimer/EventCounteroverflowsignalistheclocksourceforthePFDfunction,whichis controlledbyPFDCbitinCTRL0.ForthisdevicetheclocksourcecancomefromTimer/Event Counter0.Theoutputfrequencyiscontrolledbyloadingtherequiredvaluesintothetimerprescaler andtimerregisterstogivetherequireddivisionratio.Thecounterwillbegintocount-upfrom thispreloadregistervalueuntilfull,atwhichpointanoverflowsignalisgenerated,causingboth thePFDoutputstochangestate.Thenthecounterwillbeautomaticallyreloadedwiththepreload registervalueandcontinuecounting-up. IftheCTRL0registerhasselectedthePFDfunction,thenforPFDoutputtooperate,itisessential forthePortBcontrolregisterPBCtosetthePFDpinsasoutputs.PB3mustbesethightoactivate thePFD.Theoutputdatabitscanbeusedastheon/offcontrolbitforthePFDoutputs.Notethatthe PFDoutputswillallbelowiftheoutputdatabitisclearedtozero. PFD Function |
同様の部品番号 - HT46R004 |
|
同様の説明 - HT46R004 |
|
|
リンク URL |
プライバシーポリシー |
ALLDATASHEET.JP |
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 |