| Electronic Components Datasheet Search |
|
HT46R0042 Datasheet(PDF) 41 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R0042 Datasheet(HTML) 41 Page - Holtek Semiconductor Inc |
|
41 / 83 page ![]() Rev. 1.00 �0 ��to�e� ��� �01� Rev. 1.00 �1 ��to�e� ��� �01� HT46R0042 Cost-Effective A/D 8-Bit OTP MCU HT46R0042 Cost-Effective A/D 8-Bit OTP MCU +1 +2 +3 +4 Ti me r Ex te rn al T MR Pi n I npu t T0 ON - w it h T0 EG =0 In te r nal C lo ck o r Pr e sca le r Ou t put In cr em en t Ti me r C oun te r Pr e sca le r Ou t p ut i s sa m p le d at e ve r y fa lli n g e d g e of T 1. Pulse Width Capture Mode Timing Chart (TEG=0) Prescaler BitsTPSC2~TPSC0oftheTMRCregistercanbeusedtodefineadivisionratiofortheinternal clocksourceoftheTimer/EventCounterenablinglongertimeoutperiodstobeset. PFD Function TheProgrammableFrequencyDividerprovidesameansofproducingavariablefrequencyoutput suitableforapplication,suchassomeinterfacesrequiringaprecisefrequencygenerator. TheTimer/EventCounteroverflowsignalistheclocksourceforthePFDfunction,whichis controlledbyPFDCbitinCTRL0.ForthisdevicetheclocksourcecancomefromTimer/Event Counter.Theoutputfrequencyiscontrolledbyloadingtherequiredvaluesintothetimerprescaler andtimerregisterstogivetherequireddivisionratio.Thecounterwillbegintocount-upfromthis preloadregistervalueuntilfull,atwhichpointanoverflowsignalisgenerated,causingboththePFD outputstochangestate.Thenthecounterwillbeautomaticallyreloadedwiththepreloadregister valueandcontinuecounting-up.IftheCTRL0registerhasselectedthePFDfunction,thenforPFD outputtooperate,itisessentialforthePortBcontrolregisterPBCtosetthePFDpinsasoutputs. PB3mustbesethightoactivatethePFD.Theoutputdatabitscanbeusedastheon/offcontrolbit forthePFDoutputs.NotethatthePFDoutputswillallbelowiftheoutputdatabitisclearedto zero. Ti me r Ov er fl ow PF D Cl oc k PB 3 Da ta PF D Ou t put a t PB 3 PFD Function I/O Interfacing TheTimer/EventCounter,whenconfiguredtorunintheeventcounterorpulsewidthcapture mode,requirestheuseofanexternaltimerpinforitsoperation.Asthispinisasharedpinitmust beconfiguredcorrectlytoensurethatitissetforuseasaTimer/EventCounterinputpin.Thisis achievedbyensuringthatthemodeselectsbitsintheTimer/EventCountercontrolregister,either theeventcounterorpulsewidthcapturemode.AdditionallythecorrespondingPortControlRegister bitmustbesethightoensurethatthepinissetasaninput.Anypull-highresistorconnectedtothis pinwillremainvalidevenifthepinisusedasaTimer/EventCounterinput. |
|
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 |