công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

HCS12 bảng dữ liệu(PDF) 370 Page - Freescale Semiconductor, Inc

tên linh kiện HCS12
Giải thích chi tiết về linh kiện  HCS12 Microcontrollers
PDF  452 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  FREESCALE [Freescale Semiconductor, Inc]
Trang chủ  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

HCS12 bảng dữ liệu(HTML) 370 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 366Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 367Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 368Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 369Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 370Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 371Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 372Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 373Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 374Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 370 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
370
Freescale Semiconductor
accumulator represents the ratio of (the x-distance from the beginning of the
line segment to the lookup point) to (the x-distance from the beginning of the
line segment to the end of the line segment). B is treated as an 8-bit binary
fraction with radix point left of the MSB, so each line segment can effectively
be divided into 256 pieces. During execution of the TBL or ETBL instruction,
the difference between the end point y-value and the beginning point
y-value (a signed byte-TBL or word-ETBL) is multiplied by the B
accumulator to get an intermediate delta-y term. The result is the y-value of
the beginning point, plus this signed intermediate delta-y value.
Because indexed addressing mode is used to identify the starting point of
the line segment of interest, there is a great deal of flexibility in constructing
tables. A common method is to break the x-axis range into 256 equal width
segments and store the y value for each of the resulting 257 endpoints. The
16-bit D accumulator is then used as the x input to the table. The upper eight
bits (A) is used as a coarse lookup to find the line segment of interest, and
the lower eight bits (B) is used to interpolate within this line segment.
In the program sequence
LDX
#TBL_START
LDD
DATA_IN
TBL
A,X
The notation A,X causes the TBL instruction to use the Ath line segment in
the table. The low-order half of D (B) is used by TBL to calculate the exact
data value from this line segment. This type of table uses only 257 entries
to approximate a table with 16 bits of resolution. This type of table has the
disadvantage of equal width line segments, which means just as many
points are needed to describe a flat portion of the desired function as are
needed for the most active portions.
Another type of table stores x:y coordinate pairs for the endpoints of each
linear segment. This type of table may reduce the table storage space
compared to the previous fixed-width segments because flat areas of the
functions can be specified with a single pair of endpoints. This type of table
is a little harder to use with the CPU12 TBL and ETBL instructions because
the table instructions expect y-values for segment endpoints to be in
consecutive memory locations.
Consider a table made up of an arbitrary number of x:y coordinate pairs,
where all values are eight bits. The table is entered with the x-coordinate of
the desired point to lookup in the A accumulator. When the table is exited,
the corresponding y-value is in the A accumulator. Figure 9-13 shows one
way to work with this type of table.



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 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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