поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT45F2020 датащи(PDF) 16 Page - Holtek Semiconductor Inc

номер детали HT45F2020
подробное описание детали  Sound Effect Generator Flash MCU
PDF  85 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  HOLTEK [Holtek Semiconductor Inc]
домашняя страница  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F2020 датащи(HTML) 16 Page - Holtek Semiconductor Inc

Back Button HT45F2020 Datasheet HTML 12Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 13Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 14Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 15Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 16Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 17Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 18Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 19Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 20Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 85 page
background image
Rev. 1.00
16
April 11, 2017
Rev. 1.00
17
April 11, 2017
HT45F2020/HT45F2022
Sound Effect Generator Flash MCU
HT45F2020/HT45F2022
Sound Effect Generator Flash MCU
Theaccompanyingdiagramillustratestheaddressingdataflowofthelook-uptable.
PC High Byte
TBLP Register
Data
14 bits
Program Memory
Register TBLH
User Selected
Register
High Byte
Low Byte
Last page or
present page
PC9~PC8
Table Program Example
Thefollowingexampleshowshowthetablepointerandtabledataisdefinedandretrievedfromthe
microcontroller.ThisexampleusesrawtabledatalocatedintheProgramMemorywhichisstored
thereusingtheORGstatement.ThevalueatthisORGstatementis“300H”whichreferstothestart
addressofthelastpagewithinthe1KwordsProgramMemoryofthedevice.Thetablepointeris
setupheretohaveaninitialvalueof“06H”.Thiswillensurethatthefirstdatareadfromthedata
tablewillbeattheProgramMemoryaddress“306H”or6locationsafterthestartofthelastpage.
Notethatthevalueforthetablepointerisreferencedtothefirstaddressofthespecificpageifthe
“TABRDC[m]”instructionisbeingused.Thehighbyteofthetabledatawhichinthiscaseisequal
tozerowillbetransferredtotheTBLHregisterautomaticallywhenthe“TABRDC[m]”instruction
isexecuted.
BecausetheTBLHregisterisaread-onlyregisterandcannotberestored,careshouldbetaken
toensureitsprotectionifboththemainroutineandInterruptServiceRoutineusetableread
instructions.Ifusingthetablereadinstructions,theInterruptServiceRoutinesmaychangethe
valueoftheTBLHandsubsequentlycauseerrorsifusedagainbythemainroutine.Asaruleitis
recommendedthatsimultaneoususeofthetablereadinstructionsshouldbeavoided.However,in
situationswheresimultaneoususecannotbeavoided,theinterruptsshouldbedisabledpriortothe
executionofanymainroutinetable-readinstructions.Notethatalltablerelatedinstructionsrequire
twoinstructioncyclestocompletetheiroperation.
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
; to the last page or present page
:
:
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
:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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