| Electronic Components Datasheet Search |
|
HT45F12 Datasheet(PDF) 22 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F12 Datasheet(HTML) 22 Page - Holtek Semiconductor Inc |
|
22 / 104 page ![]() Rev. 0.00 �� �e�te��e� ��� �01� Rev. 0.00 �3 �e�te��e� ��� �01� HT45F12 8-Bit Flash MCU with Op Amps & Comparators HT45F12 8-Bit Flash MCU with Op Amps & Comparators Table Read Program Example tempreg1 db ? ; temporary register #1 tempreg2 db ? ; temporary register #2 : : mov a,06h ; initialise low table pointer - note that this address is referenced mov tblp,a mov a,07h ; initialise high table pointer mov tbhp,a : : tabrdc tempreg1 ; transfers value in table referenced by table pointer data at program ; memory address “306H” transferred to tempreg1 and TBLH dec tblp ; reduce value of table pointer by one tabrdc tempreg2 ; transfers value in table referenced by table pointer data at program ; memory address “305H” transferred to tempreg2 and TBLH in this ; example the data “1AH” is transferred to tempreg1 and data “0FH” to ; register tempreg2 : : org 300h ; sets initial address of program memory dc 00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh : : In Circuit Programming TheprovisionofFlashtypeProgramMemoryprovidestheuserwithameansofconvenientandeasy upgradesandmodificationstotheirprogramsonthesamedevice.Asanadditionalconvenience, Holtekhasprovidedameansofprogrammingthemicrocontrollerin-circuitusinga5-pininterface. Thisprovidesmanufacturerswiththepossibilityofmanufacturingtheircircuitboardscompletewith aprogrammedorun-programmedmicrocontroller,andthenprogrammingorupgradingtheprogram atalaterstage.Thisenablesproductmanufacturerstoeasilykeeptheirmanufacturedproducts suppliedwiththelatestprogramreleaseswithoutremovalandre-insertionofthedevice. MCU Programming Pins Function DATA �e�ial Data In�ut/Out�ut CLK �e�ial Clock RE� Device Reset VDD Powe� �u��ly V�� G�ound TheProgramMemoryandEEPROMdatamemorycanbothbeprogrammedseriallyin-circuitusing this5-wireinterface.Dataisdownloadedanduploadedseriallyonasinglepinwithanadditional linefortheclock.Twoadditionallinesarerequiredforthepowersupplyandonelineforthereset. Thetechnicaldetailsregardingthein-circuitprogrammingofthedevicearebeyondthescopeofthis documentandwillbesuppliedinsupplementaryliterature. DuringtheprogrammingprocesstheRESpinwillbeheldlowbytheprogrammerdisablingthe normaloperationofthemicrocontrollerandtakingcontrolofthePA0andPA2I/Opinsfordataand clockprogrammingpurposes.Theusermusttakecaretoensurethatnootheroutputsareconnected tothesetwopins. |
|
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 |