Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HCS12 Datasheet(PDF) 369 Page - Freescale Semiconductor, Inc

Part # HCS12
Description  HCS12 Microcontrollers
PDF  452 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

HCS12 Datasheet(HTML) 369 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 365Page - Freescale Semiconductor, Inc 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 369 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
Freescale Semiconductor
369
used to divide the sum-of-products by the sum-of-weights. TMP1 : TMP2 is
transferred into Y : D and TMP3 is transferred into X.
9.7 Custom Fuzzy Logic Programming
The basic fuzzy logic inference techniques described earlier are suitable for
a broad range of applications, but some systems may require
customization. The built-in fuzzy instructions use 8-bit resolution and some
systems may require finer resolution. The rule evaluation instructions only
support variations of MIN-MAX rule evaluation and other methods have
been discussed in fuzzy logic literature. The weighted average of singletons
is not the only defuzzification technique. The CPU12 has several
instructions and addressing modes that can be helpful when developing
custom fuzzy logic systems.
9.7.1 Fuzzification Variations
The MEM instruction supports trapezoidal membership functions and
several other varieties, including membership functions with vertical sides
(infinite slope sides). Triangular membership functions are a subset of
trapezoidal functions. Some practitioners refer to s-, z-, and
π-shaped
membership functions. These refer to a trapezoid butted against the right
end of the x-axis, a trapezoid butted against the left end of the x-axis, and a
trapezoidal membership function that isn’t butted against either end of the
x-axis, respectively. Many other membership function shapes are possible,
if memory space and processing bandwidth are sufficient.
Tabular membership functions offer complete flexibility in shape and very
fast evaluation time. However, tables take a very large amount of memory
space (as many as 256 bytes per label of one system input). The excessive
size to specify tabular membership functions makes them impractical for
most microcontroller-based fuzzy systems. The CPU12 instruction set
includes two instructions (TBL and ETBL) for lookup and interpolation of
compressed tables.
The TBL instruction uses 8-bit table entries (y-values) and returns an 8-bit
result. The ETBL instruction uses 16-bit table entries (y-values) and returns
a 16-bit result. A flexible indexed addressing mode is used to identify the
effective address of the data point at the beginning of the line segment, and
the data value for the end point of the line segment is the next consecutive
memory location (byte for TBL and word for ETBL). In both cases, the B



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