EasyManua.ls Logo

Texas Instruments C28 Series

Texas Instruments C28 Series
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Function Descriptions
3.40 Optimized Memory Set
Description:
This module performs optimized memory sets.
Header File:
FPU.h
Declaration:
void memset_fast(void
*
dst, int16 value, Uint16 N)
Usage:
memset_fast(dst, value, N);
void* dst
pointer to destination
int16 value
initialization value
Uint16 N
number of 16-bit words to initialize
Alignment Requirements:
None
Notes:
1. The function checks for the case of N=0 and just returns if true.
Example:
#include "FPU.h"
#define N 10
int x[N];
main()
{
memset_fast(x, 4, N);
}
Benchmark Information:
Number of Cycles = 1 cycle per copy + 20 cycles of overhead (including the call and return).
This assumes src and dst are located in different internal RAM blocks.
Sep 10, 2012 74

Table of Contents

Other manuals for Texas Instruments C28 Series

Related product manuals