数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

HT45F56 数据表(PDF) 16 Page - Holtek Semiconductor Inc

部件名 HT45F56
功能描述  Shock Detector Flash MCU
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  HOLTEK [Holtek Semiconductor Inc]
网页  http://www.holtek.com
标志 HOLTEK - Holtek Semiconductor Inc

HT45F56 数据表(HTML) 16 Page - Holtek Semiconductor Inc

Back Button HT45F56 Datasheet HTML 12Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 13Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 14Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 15Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 16Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 17Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 18Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 19Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 20Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 90 page
background image
Rev. 1.11
16
April 11, 2017
Rev. 1.11
17
April 11, 2017
HT45F56
Shock Detector Flash MCU
HT45F56
Shock Detector Flash MCU
Theaccompanyingdiagramillustratestheaddressingdataflowofthelook-uptable.
Last Page or
PC High Byte
TBLP Register
Data
14 bits
Program Memory
Register TBLH
User Selected
Register
High Byte
Low Byte
Table Program Example
Theaccompanyingexampleshowshowthetablepointerandtabledataisdefinedandretrievedfrom
thedevice.Thisexampleusesrawtabledatalocatedinthelastpagewhichisstoredthereusingthe
ORGstatement.ThevalueatthisORGstatementis“300H”whichreferstothestartaddressofthe
lastpagewithinthe1KProgramMemoryofthedevice.Thetablepointerlowbyteregisterissetup
heretohaveaninitialvalueof“06H”.Thiswillensurethatthefirstdatareadfromthedatatable
willbeattheProgramMemoryaddress“306H”or6locationsafterthestartofthelastpage.Note
thatthevalueforthetablepointerisreferencedtothefirstaddressofthepresentpageifthe“TABRD
[m]”instructionisbeingused.Thehighbyteofthetabledatawhichinthiscaseisequaltozerowill
betransferredtotheTBLHregisterautomaticallywhenthe“TABRD[m]instructionisexecuted.
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 current page
:
tabrd 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
tabrd 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 86 87 88 89 90


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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