Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
DSP281x_MemCopy.c
Package: TMS320F2812-EVM.rar [view]
Upload User: qingfan3
Upload Date: 2014-10-27
Package Size: 31439k
Code Size: 1k
Category:
DSP program
Development Platform:
C/C++
- //###########################################################################
- //
- // FILE: DSP281x_MemCopy.c
- //
- // TITLE: Memory Copy Utility
- //
- // ASSUMPTIONS:
- //
- //
- //
- // DESCRIPTION:
- //
- // This function will copy the specified memory contents from
- // one location to another.
- //
- // Uint16 *SourceAddr Pointer to the first word to be moved
- // SourceAddr < SourceEndAddr
- // Uint16* SourceEndAddr Pointer to the last word to be moved
- // Uint16* DestAddr Pointer to the first destination word
- //
- // No checks are made for invalid memory locations or that the
- // end address is > then the first start address.
- //
- //
- //###########################################################################
- //
- // Ver | dd mmm yyyy | Who | Description of changes
- // =====|=============|======|===============================================
- // 1.00| 11 Sep 2003 | L.H. | No changes since previous version (v.58 Alpha)
- //
- //###########################################################################
- #include "DSP281x_Device.h"
- void MemCopy(Uint16 *SourceAddr, Uint16* SourceEndAddr, Uint16* DestAddr)
- {
- while(SourceAddr < SourceEndAddr)
- {
- *DestAddr++ = *SourceAddr++;
- }
- return;
- }