Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MC68340 Datasheet(PDF) 169 Page - Freescale Semiconductor, Inc

Part # MC68340
Description  Integrated Processor with DMA User?셲 Manual
PDF  441 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MC68340 Datasheet(HTML) 169 Page - Freescale Semiconductor, Inc

Back Button MC68340 Datasheet HTML 165Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 166Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 167Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 168Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 169Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 170Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 171Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 172Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 173Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 169 / 441 page
background image
5- 32
MC68340 USER’S MANUAL
MOTOROLA
Table 5-14. Compressed Table Entries
Entry Number
X Value
Y Value
2
512
1311
3
786
1966
Since the table is reduced from 257 to 5 entries, independent variable X must be scaled
appropriately. In this case the scaling factor is 64, and the scaling is done by a single
instruction:
LSR.W #6,Dx
Thus, Dx now contains the following bit pattern:
31
16
15
0
NOT USED
0000001010001110
Table Entry Offset
⇒ Dx [8:15] = $02 = 2
Interpolation Fraction
⇒ Dx [0:7] = $8E = 142
Using this information, the table instruction calculates dependent variable Y:
Y = 1331
+ (142 (1966 – 1311)) / 256 = 1674
The function chosen for Examples 1 and 2 is linear between data points. If another
function had been been used, interpolated values might not have been identical.
5.3.4.3 TABLE EXAMPLE 3: 8-BIT INDEPENDENT VARIABLE. This example shows
how to use a table instruction within an interpolation subroutine. Independent variable X is
calculated as an 8-bit value, allowing 16 levels of interpolation on a 17-entry table. X is
passed to the subroutine, which returns an 8-bit result. The subroutine uses the data listed
in Table 5-15, based on the function shown in Figure 5-9.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



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


Datasheet Download

Go To PDF Page


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


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