代码搜索:XRAM
找到约 454 项符合「XRAM」的源代码
代码结果 454
www.eeworm.com/read/172927/9682509
c dataload.c
/* 计算机应用程序将某个文件的数据通过USB下传到单片机的RAM中,本程序中单片机再将数据从串口输出,相当于USB转串口,供参考 */
/*
; CH375/CH372 Bulk Data Download
; U2(AT89C51) Program
; 本程序测试收大数据块
; 本程序适用于时钟频率不高于24MHz的标准MCS-51单片机
;
; Website: http:/
www.eeworm.com/read/396580/2414033
c os_c.c
#include "..\..\..\Source\uCOS_II.H"
void SaveCtx(INT8U XDAT *xRam,INT8U IDAT *iRam,INT8U n)
{
while(n--)
{
*(xRam++) = *(iRam++);
}
}
void LoadCtx(INT8U XDAT *xRam,INT8U IDAT *iRam,IN
www.eeworm.com/read/11569/230998
h config.h
#ifndef _CONFIG_H_
#define _CONFIG_H_
/* 文件包含 */
#include
#include "compiler.h"
/* 用户配置 */
#define HAVE_XRAM /* 定义默认单片机为带有片上XRAM的AT89C51RD2 */
#ifdef HAVE_XRAM
#define NO_XDA
www.eeworm.com/read/308433/3713719
h config.h
#ifndef _CONFIG_H_
#define _CONFIG_H_
/* 文件包含 */
#include
#include "compiler.h"
/* 用户配置 */
#define HAVE_XRAM /* 定义默认单片机为带有片上XRAM的AT89C51RD2 */
#ifdef HAVE_XRAM
#define NO_XDA
www.eeworm.com/read/374407/9407362
txt dma0初始化.txt
void DMA0_init (uint XRAM_START_ADD,uint NUM_SAMPLES)
{
SFRPAGE = DMA0_PAGE; // 切换到DMA0特殊功能寄存器页
DMA0CN = 0x00; // 禁止DMA接口
DMA0DA = XR
www.eeworm.com/read/165393/5482934
c _gptrgetc.c
/*-------------------------------------------------------------------------
_gptrget.c :- get value for a generic pointer (used with --xram-movc)
Written By - Sandeep Dutta . san
www.eeworm.com/read/166010/10041364
cmd dsp56f807_external_mem_linker.cmd
# ----------------------------------------------------
# Metrowerks sample code
# linker command file for DSP56807EVM
# using
# external pRAM
# external xRAM
# internal
www.eeworm.com/read/137348/13327199
run
#!/bin/csh -f
set failedi = 0;
set failedx = 0;
set all_testsi = 0;
set all_testsx = 0;
set internal_tests=(testall lcall negcnt gcd int2bin cast divmul fib sort sqroot div16u test_xram xram_m time
www.eeworm.com/read/166010/10041392
asm dsp56800_xromxram.asm
; metrowerks sample code
; this __romCopy copies xROM to xRAM
; define which __romCopy routine to assemble
; see alternative routine below
; use the software loop rout
www.eeworm.com/read/457183/7333154
asm dsp56800e_promxram.asm
; metrowerks sample code
; this __romCopy copies pROM to xRAM
; we use unsigned long moves for setup of addresses and size
; otherwise the values will be sign-extended