| Electronic Components Datasheet Search |
|
HT45F39 Datasheet(PDF) 71 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F39 Datasheet(HTML) 71 Page - Holtek Semiconductor Inc |
|
71 / 102 page ![]() Rev. 1.10 70 July 01, 2016 Rev. 1.10 71 July 01, 2016 HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU TheSAVPbitisusedtoenabletheAEPfunction. • AVPCTRL Register (Auto-Envelope Control Register) BIT 7 6 5 4 3 2 1 0 NAME Dn Kn — SUMSEL — AEVMOD — SAVP R/W R/W R/W — R/W — R/W — R/W POR 0 0 — 0 — 0 — 0 Bit7 Dn:DividerValuefor40KHzor58KHzUltrasonicSensor 0:4-58KHzUltrasonicsensor 1:8-40KHzUltrasonicsensor NotethatiftheUltrasonicsensorfrequencyis58KHz,thenthisbitmustbeselected as"0",theaccumulatedvaluefromtheADDERwillbedividedby"4"beforeentering theComparator.WhentheUltrasonicsensorfrequencyis40KHz,thisbeshouldbe selectedas"1". Bit6 Kn:KnValue 0:AccumulateADCconverteddata10timestoproduceanoutputADDOUT. 1:AccumulateADCconverteddata7timestoproduceanoutputADDOUT. Bit5 Unimplemented Bit4 SUMSEL:Comparatorinputpath,SUM,selection 0:SUMSEL=0,fromDivideroutput 1:SUMSEL=1,fromADCconverteddataoutput Bit3 Unimplemented Bit2 AEVMOD:Auto-EnvelopefunctionModeselection 0:Mode0 1:Mode1 InMode0,theComapartorValueisfromtheSUMCMPregisterandtheADC converteddataortheDivideroutputdatawillbestoredintheFIFO.Whentheinput datahasmorethan10sets,itwillgenerateaninterrupt. InMode1,theComparatorValueisfromtheFIFOandthedesignershouldfillinthe 10-levelFIFOtocompareitwiththeinputsingalconverteddata.TheComparatorwill fetchdataintheFIFOatan800KHzdatarate.Whena10-levelFIFOinterrupttakes place,thedsignershouldre-enter10setsofdataintotheFIFO. Bit1 Unimplemented Bit0 SAVP:ActivateAuto-envelopeprocessor 0:Inactivate 1:Activate WhentheSAVPbitisactivatedbytheapplication program, thewholeauto- envelopeprocessingfunctionisstarted.ItwillactivatetheADCandSCFfunctions simultaneously. FIFO Operation Thesedevicesprovidean10-levelFIFO.Whenthe10-LevelFIFOinterruptisenabledand10sets ofdataarereceivedortransmitted,aninterruptwillbegenerated.Therearefiveregistersrelated tothisFIFOoperation.TheFIFORD_ADDRregisterisusedtoindicatethecurrentreadaddress andtheFIFOWR_ADDRisusedtoindicatethecurrentwriteaddressinFIFO.TheFIFOCTRL registerisusedtocontroltheFIFOoperationandtoindicatetheFIFOstatus.Thedesignercanuse thisregistertoinitialisetheFIFO,tostarttheFIFOoperationandtochecktheFIFIOstatus.The followingoperatingdiagramillustratestheFIFOstructure. |
|
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 |