03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

}<br />

// as default<br />

// ##############################################################<br />

// output should be 0x2000<br />

f16Out = MLIB_SubSat (f16In1,f16In2);<br />

4.180 Function MLIB_VMac_F32<br />

This function implements the vector multiply accumulate function.<br />

4.180.1 Declaration<br />

tFrac32 MLIB_VMac_F32(register tFrac32 f32In1, register tFrac32 f32In2, register tFrac32<br />

f32In3, register tFrac32 f32In4);<br />

4.180.2 Arguments<br />

Table 4-217. MLIB_VMac_F32 arguments<br />

Type Name Direction Description<br />

register tFrac32 f32In1 input First input value to first multiplication.<br />

register tFrac32 f32In2 input Second input value to first multiplication.<br />

register tFrac32 f32In3 input First input value to second multiplication.<br />

register tFrac32 f32In4 input Second input value to second multiplication.<br />

register tFrac32 f32In1 input First input value to first multiplication<br />

register tFrac32 f32In2 input Second input value to first multiplication<br />

register tFrac32 f32In3 input First input value to second multiplication<br />

register tFrac32 f32In4 input Second input value to second multiplication<br />

4.180.3 Return<br />

Chapter 4 API References<br />

Vector multiplied input values with addition.Vector multiplied input values with addition<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

Freescale Semiconductor, Inc. 673

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!