Microchip PIC32AK6416GC41064 handleiding

76 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 13 van 76
Vector Funcons
User Guide
© 2025 Microchip Technology Inc. and its subsidiaries
DS70005605A - 13
Prototype
fractional VectorDotProduct (int numElems, fractional* srcV1,
fractional* srcV2);
Arguments
Parameters Description
numElems
Number of elements in the source vectors
srcV1
Pointer to the source one vector
srcV2
Pointer to the source two vector
Returns
Value of the sum of products.
Remarks
If the absolute value ofsum-of-productsis larger than the maximum value of 1.31 fractional data
type, the operation results in saturation.
This function can be computed in place.
This function can beself-applicable.
Source File
vdot_aa.s
Function Prole
Device Program Words Cycles
PIC32A
11
32 + numElems- IfsrcV2 in y-memory
andsrcV1 in x-memory.
32 + 2*numElems- Ifboth
srcV2 andsrcV1 in x-memory.
System resource usage
W0…W4 - used, not restored
ACCA - used, not restored
CORCON - saved, used, restored
REPEATinstruction(s) usage – 1
2.3.6. VectorMax
Description
VectorMaxreturns the value and index of the last element in the source vector whose value is
greater than or equal to any previous vector element.
Prototype
fractional VectorMax (int numElems, fractional* srcV, int* maxIndex);
Arguments
Parameters Description
numElems
Number of elements in the source vector
srcV
Pointer to the source vector

Bekijk gratis de handleiding van Microchip PIC32AK6416GC41064, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkMicrochip
ModelPIC32AK6416GC41064
CategorieNiet gecategoriseerd
TaalNederlands
Grootte11302 MB