Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
HT46R004 Datasheet(PDF) 43 Page - Holtek Semiconductor Inc |
|
HT46R004 Datasheet(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 |
Número de pieza similar - HT46R004 |
|
Descripción similar - HT46R004 |
|
|
Enlace URL |
Política de Privacidad |
ALLDATASHEET.ES |
¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Intercambio de Enlaces | Lista de Fabricantes 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 |