User`s guide
Table Of Contents
- Getting Started
- Using the IQmath Library
- Block Reference
- Blocks — Alphabetical List
- Absolute IQN
- Arctangent IQN
- C24x ADC
- C24x CAN Receive
- C24x CAN Transmit
- C24x From Memory
- C24x PWM
- C24x To Memory
- C28x ADC
- C28x eCAN Receive
- C28x eCAN Transmit
- C28x From Memory
- C28x PWM
- C28x To Memory
- Division IQN
- F2812 eZdsp
- Float to IQN
- Fractional part IQN
- Fractional part IQN x int32
- Integer part IQN
- Integer part IQN x int32
- IQN to Float
- IQN x int32
- IQN x IQN
- IQN1 to IQN2
- IQN1 x IQN2
- LF2407 eZdsp
- Magnitude IQN
- Saturate IQN
- Square Root IQN
- Trig Fcn IQN
- Index

ii
2
Using the IQmath Library
About the IQmath Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Common Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Fixed-Point Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Signed Fixed-Point Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Q Format Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Building Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Converting Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Using Sources and Sinks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Choosing Blocks to Optimize Code . . . . . . . . . . . . . . . . . . . . . . . 2-7
3
Block Reference
Blocks — By Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
C2400 DSP Chip Support Library (c2400dspchiplib) . . . . . . . . 3-2
C2800 DSP Chip Support Library (c2800dspchiplib) . . . . . . . . 3-2
Target Preferences Library (c2000tgtpreflib) . . . . . . . . . . . . . . . 3-3
C28x IQmath Library (tiiqmathlib) . . . . . . . . . . . . . . . . . . . . . . 3-3
Blocks — Alphabetical List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Index