EasyManuals Logo

Texas Instruments C28 Series User Manual

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
Page #74 background imageLoading...
Page #74 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C28 Series and is the answer not in the manual?

Texas Instruments C28 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelC28 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals