Microchip PIC32AK1216GC41064 handleiding
Handleiding
Je bekijkt pagina 17 van 76

Vector Funcons
User Guide
© 2025 Microchip Technology Inc. and its subsidiaries
DS70005605A - 17
• vpow_aa.s
Function Prole
Device Program Words Cycles
PIC32A
9 36 + (numElems)
System resource usage
• W0…W4 - used, not restored
• ACCA - used, not restored
• CORCON - saved, used, restored
• One REPEATinstruction
2.3.11. VectorScale
Description
VectorScalemultiplies the values of all the elements in the source vector by a scale value and
places the result in the destination vector.
Prototype
fractional* VectorScale (int numElems, fractional* dstV, fractional* srcV,
fractional sclVal);
Arguments
Parameters Description
numElems
Number of elements in the source vectors
dstV
Pointer to the destination vector
srcV
Pointer to the source vector
sclVal
Value by which to scale the vector elements
Returns
Pointer to the base address of the destination vector.
Remarks
sclVal must be a fractional number in 1.31 format.
This function can be computed in place.
This function can beself-applicable.
Source File
• vscl_aa.s
Function Prole
Device Program Words Cycles
PIC32A
20 40 + ⌈2.5 x numElems⌉
System resource usage
• W0…W4 - used, not restored
• W13 - saved, used, restored
• ACCA - used, not restored
Bekijk gratis de handleiding van Microchip PIC32AK1216GC41064, 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
Merk | Microchip |
Model | PIC32AK1216GC41064 |
Categorie | Niet gecategoriseerd |
Taal | Nederlands |
Grootte | 11302 MB |