Microchip PIC32AK3208GC41064 handleiding

76 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 14 van 76
Vector Funcons
User Guide
© 2025 Microchip Technology Inc. and its subsidiaries
DS70005605A - 14
VectorMax (connued)
Parameters Description
maxIndex
Pointer to the holder for the index of (last) maximum element
Returns
Maximum value in the vector.
Remarks
IfsrcV[i]=srcV[j]=maxVal, andi<j, then *maxIndex=j.
Source File
vmax_aa.s
Function Prole
Device Program
Words
Cycles
PIC32A
10 32 + 4*(numElems - 1),
System resource usage
W0…W6 - used, not restored
REPEATinstruction(s) usage – None
2.3.7. VectorMin
Description
VectorMinreturns the value and index of the last element in the source vector whose value is
lesser than or equal to any previous vector element.
Prototype
fractional VectorMin (int numElems, fractional* srcV, int* minIndex);
Arguments
Parameters Description
numElems
Number of elements in the source vector
srcV
Pointer to the source vector
minIndex
Pointer to the holder for the index of the (last) minimum element
Returns
Minimum value in the vector.
Remarks
IfsrcV[i]=srcV[j]=minVal, andi<j, then *minIndex=j.
Source File
vmin_aa.s
Function Prole
Device Program
Words
Cycles
PIC32A
10 32 + 4*(numElems - 1),

Bekijk gratis de handleiding van Microchip PIC32AK3208GC41064, 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
ModelPIC32AK3208GC41064
CategorieNiet gecategoriseerd
TaalNederlands
Grootte11302 MB