Table Example 1: Standard Usage - Motorola MC68340 User Manual

Integrated processor with dma
Hide thumbs Also See for MC68340:
Table of Contents

Advertisement

Two additional examples show how TBLSN can reduce cumulative error when multiple
table lookup and interpolation operations are used in a calculation. Example 4
demonstrates addition of the results of three table interpolations. Example 5 illustrates use
of TBLSN in surface interpolation.
5.3.4.1 TABLE EXAMPLE 1: STANDARD USAGE. The table consists of 257 word
entries. As shown in Figure 5-7, the function is linear within the range 32768
Table entries within this range are as given in Table 5-13 .
Y
5-30
Freescale Semiconductor, Inc.
Table 5-13. Standard Usage Entries
Entry Number
X Value
128*
32768
162
41472
163
41728
164
41984
165
42240
192*
49152
*These values are the end points of the range.
All entries between these points fall on the line.
16384
32768
INDEPENDENT VARIABLE
Figure 5-7. Table Example 1
MC68340 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Y Value
1311
1659
1669
1679
1690
1966
49152
65536
X
X
49152.
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents