• xf2017
    了解作者
  • C/C++
    开发工具
  • 78KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 2
    下载次数
  • 2017-07-07 14:21
    上传日期
ADSP-BF536与SRAM的通讯程序
SRAM.rar
  • SRAM
  • INCLUDE
  • stdarg.h
    1.5KB
  • func.h
    1.6KB
  • egy.h
    208B
  • eth.h
    926B
  • lcd240128.h
    219B
  • dmadesc.h
    954B
  • flash.h
    351B
  • mconfig.h
    441B
  • interrupt.h
    25B
  • socket.h
    1.4KB
  • Mi6-3004.h
    2.4KB
  • dcs2.h
    542B
  • macros.h
    569B
  • peri.h
    260B
  • dcs.h
    209B
  • publicproc.h
    69B
  • Debug
  • main.doj
    34.3KB
  • linker_log.xml
    49.2KB
  • NewProject.dxe
    105.3KB
  • publicproc.doj
    5.9KB
  • NewProject.log
    10.4KB
  • lcd240128.doj
    14.2KB
  • peri.doj
    13.2KB
  • flash.doj
    12.4KB
  • SRC
  • interrupt.c
    1.1KB
  • flash.c
    3.9KB
  • publicproc.c
    717B
  • dmadesc.c
    11.4KB
  • peri.c
    5.3KB
  • lcd240128.c
    3.5KB
  • main.c
    15.8KB
  • NewProject.dpj
    8.3KB
  • NewProject.mak
    7.6KB
  • NewProject.pcf
    9.5KB
内容介绍
#include "stdio.h" #include "stdlib.h" #include "macros.h" //visual dsp++的系统头文件中也有一个macros.h的头文件,用户自己定义的头文件与之同名似乎不妥,虽然include“”会优先指向工程文件下的头文件 //#include "peri.h" #include "lcd240128.h" //#include "interrupt.h" //#include "dmadesc.h" #include "Mi6-3004.h" #include "flash.h" //字库 unsigned char NUM0[]={0x7c,0x8a,0x92,0xa2,0x7c,0x00,0x00,0x00};//0 unsigned char NUM1[]={0x00,0x42,0xfe,0x02,0x00,0x00,0x00,0x00};//1 unsigned char NUM2[]={0x46,0x8a,0x92,0x92,0x62,0x00,0x00,0x00};//2 unsigned char NUM3[]={0x44,0x92,0x92,0x6C,0x00,0x00,0x00,0x00};//3 unsigned char NUM4[]={0x18,0x28,0x48,0xfe,0x08,0x00,0x00,0x00};//4 unsigned char NUM5[]={0xe4,0xa2,0xa2,0xa2,0x9c,0x00,0x00,0x00};//5 unsigned char NUM6[]={0x3c,0x52,0x92,0x92,0x0c,0x00,0x00,0x00};//6 unsigned char NUM7[]={0x80,0x8e,0x90,0xa0,0xc0,0x00,0x00,0x00};//7 unsigned char NUM8[]={0x6c,0x92,0x92,0x92,0x6c,0x00,0x00,0x00};//8 unsigned char NUM9[]={0x60,0x92,0x92,0x94,0x78,0x00,0x00,0x00};//9 /*unsigned char NUM10[]={0x28,0x28,0x28,0x28,0x00,0x00,0x00,0x00};//equal unsigned char NUM11[]={0x28,0x28,0x28,0x28,0x00,0x00,0x00,0x00};//space unsigned char NUM12[]={0xfe,0x90,0x90,0x90,0x60,0x00,0x00,0x00};//P unsigned char NUM13[]={0xfc,0x02,0x1c,0x02,0xfc,0x00,0x00,0x00};//W unsigned char NUM14[]={0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00};//dot点号 */ unsigned char dot[] ={0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00};//dot点号 unsigned char A[] ={0x7e,0x90,0x90,0x90,0x7e,0x00,0x00,0x00};//A unsigned char B[] ={0xfe,0x92,0x92,0x92,0x6c,0x00,0x00,0x00};//B unsigned char C[] ={0x7c,0x82,0x82,0x82,0x44,0x00,0x00,0x00};//C unsigned char D[] ={0xfe,0x82,0x82,0x44,0x38,0x00,0x00,0x00};//D unsigned char E[] ={0xfe,0x92,0x92,0x92,0x82,0x00,0x00,0x00};//E unsigned char F[] ={0xfe,0x90,0x90,0x90,0x80,0x00,0x00,0x00};//F unsigned char G[] ={0x7c,0x82,0x82,0x8a,0x4e,0x00,0x00,0x00};//G unsigned char H[] ={0xfe,0x10,0x10,0x10,0xfe,0x00,0x00,0x00};//H unsigned char I[] ={0x82,0xfe,0x82,0x00,0x00,0x00,0x00,0x00};//I unsigned char J[] ={0x04,0x02,0x82,0xfc,0x80,0x00,0x00,0x00};//J unsigned char K[] ={0xfe,0x10,0x28,0x44,0x82,0x00,0x00,0x00};//K unsigned char L[] ={0xfe,0x02,0x02,0x02,0x02,0x00,0x00,0x00};//L unsigned char M[] ={0xfe,0x40,0x30,0x40,0xfe,0x00,0x00,0x00};//M unsigned char N[] ={0xfe,0x20,0x10,0x08,0xfe,0x00,0x00,0x00};//N unsigned char O[] ={0x7c,0x82,0x82,0x82,0x7c,0x00,0x00,0x00};//O unsigned char P[] ={0xfe,0x90,0x90,0x90,0x60,0x00,0x00,0x00};//P unsigned char Q[] ={0x7c,0x82,0x8a,0x84,0x7a,0x00,0x00,0x00};//Q unsigned char R[] ={0xfe,0x90,0x98,0x94,0x62,0x00,0x00,0x00};//R unsigned char S[] ={0x64,0x92,0x92,0x92,0x4c,0x00,0x00,0x00};//S unsigned char T[] ={0x80,0x80,0xfe,0x80,0x80,0x00,0x00,0x00};//T unsigned char U[] ={0xfc,0x02,0x02,0x02,0xfc,0x00,0x00,0x00};//U unsigned char V[] ={0xf8,0x04,0x02,0x04,0xf8,0x00,0x00,0x00};//V unsigned char W[] ={0xfc,0x02,0x1c,0x02,0xfc,0x00,0x00,0x00};//W unsigned char X[] ={0xc6,0x28,0x10,0x28,0xc6,0x00,0x00,0x00};//X unsigned char Y[] ={0xc0,0x20,0x1e,0x20,0xc0,0x00,0x00,0x00};//Y unsigned char Z[] ={0x86,0x8a,0x92,0xa2,0xc2,0x00,0x00,0x00};//Z unsigned char a1[] ={0x04,0x2a,0x2a,0x2a,0x1e,0x00,0x00,0x00};//a unsigned char b1[] ={0xfe,0x12,0x22,0x22,0x1c,0x00,0x00,0x00};//b unsigned char c1[] ={0x1c,0x22,0x22,0x14,0x00,0x00,0x00,0x00};//c unsigned char d1[] ={0x1c,0x22,0x22,0x12,0xfe,0x00,0x00,0x00};//d unsigned char e1[] ={0x1c,0x2a,0x2a,0x2a,0x18,0x00,0x00,0x00};//e unsigned char f1[] ={0x10,0x7e,0x90,0x40,0x00,0x00,0x00,0x00};//f unsigned char g1[] ={0x18,0x25,0x25,0x25,0x3e,0x00,0x00,0x00};//g unsigned char h1[] ={0xfe,0x10,0x20,0x20,0x1e,0x00,0x00,0x00};//h unsigned char i1[] ={0xbe,0x00,0x00,0x00,0x00,0x00,0x00,0x00};//i unsigned char j1[] ={0x01,0x21,0xbe,0x00,0x00,0x00,0x00,0x00};//j unsigned char k1[] ={0xfe,0x08,0x14,0x22,0x00,0x00,0x00,0x00};//k unsigned char l1[] ={0x82,0xfe,0x02,0x00,0x00,0x00,0x00,0x00};//l unsigned char m1[] ={0x3e,0x20,0x10,0x20,0x1e,0x00,0x00,0x00};//m unsigned char n1[] ={0x3e,0x10,0x20,0x3e,0x00,0x00,0x00,0x00};//n unsigned char o1[] ={0x1c,0x22,0x22,0x1c,0x00,0x00,0x00,0x00};//o unsigned char p1[] ={0x3f,0x24,0x24,0x18,0x00,0x00,0x00,0x00};//p unsigned char q1[] ={0x18,0x24,0x24,0x3f,0x00,0x00,0x00,0x00};//q unsigned char r1[] ={0x3e,0x10,0x20,0x00,0x00,0x00,0x00,0x00};//r unsigned char s1[] ={0x12,0x2a,0x2a,0x24,0x00,0x00,0x00,0x00};//s unsigned char t1[] ={0x20,0xfe,0x20,0x00,0x00,0x00,0x00,0x00};//t unsigned char u1[] ={0x3c,0x02,0x02,0x3e,0x00,0x00,0x00,0x00};//u unsigned char v1[] ={0x38,0x04,0x02,0x04,0x38,0x00,0x00,0x00};//v unsigned char w1[] ={0x3c,0x02,0x0c,0x02,0x3c,0x00,0x00,0x00};//w unsigned char x1[] ={0x22,0x14,0x08,0x14,0x22,0x00,0x00,0x00};//x unsigned char y1[] ={0x38,0x05,0x05,0x3e,0x00,0x00,0x00,0x00};//y unsigned char z1[] ={0x22,0x26,0x2a,0x32,0x22,0x00,0x00,0x00};//z unsigned char pz[] ={0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00};//- unsigned char plus[] ={0x10,0x10,0x7c,0x10,0x10,0x00,0x00,0x00};//+ unsigned char equal[] ={0x28,0x28,0x28,0x28,0x00,0x00,0x00,0x00};/*"="*/ unsigned char space[] ={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};/*" "*/ unsigned char aa[62][8]={0x7c,0x8a,0x92,0xa2,0x7c,0x00,0x00,0x00,//0 0x00,0x42,0xfe,0x02,0x00,0x00,0x00,0x00,//1 0x46,0x8a,0x92,0x92,0x62,0x00,0x00,0x00,//2 0x44,0x82,0x92,0x92,0x6c,0x00,0x00,0x00,//3 0x18,0x28,0x48,0xfe,0x08,0x00,0x00,0x00,//4 0xe4,0xa2,0xa2,0xa2,0x9c,0x00,0x00,0x00,//5 0x3c,0x52,0x92,0x92,0x0c,0x00,0x00,0x00,//6 0x80,0x8e,0x90,0xa0,0xc0,0x00,0x00,0x00,//7 0x6c,0x92,0x92,0x92,0x6c,0x00,0x00,0x00,//8 0x60,0x92,0x92,0x94,0x78,0x00,0x00,0x00,//9 0x7e,0x90,0x90,0x90,0x7e,0x00,0x00,0x00,//A 0xfe,0x92,0x92,0x92,0x6c,0x00,0x00,0x00,//B 0x7c,0x82,0x82,0x82,0x44,0x00,0x00,0x00,//C 0xfe,0x82,0x82,0x44,0x38,0x00,0x00,0x00,//D 0xfe,0x92,0x92,0x92,0x82,0x00,0x00,0x00,//E 0xfe,0x90,0x90,0x90,0x80,0x00,0x00,0x00,//F 0x7c,0x82,0x82,0x8a,0x4e,0x00,0x00,0x00,//G 0xfe,0x10,0x10,0x10,0xfe,0x00,0x00,0x00,//H 0x82,0xfe,0x82,0x00,0x00,0x00,0x00,0x00,//I 0x04,0x02,0x82,0xfc,0x80,0x00,0x00,0x00,//J 0xfe,0x10,0x28,0x44,0x82,0x00,0x00,0x00,//K 0xfe,0x02,0x02,0x02,0x02,0x00,0x00,0x00,//L 0xfe,0x40,0x30,0x40,0xfe,0x00,0x00,0x00,//M 0xfe,0x20,0x10,0x08,0xfe,0x00,0x00,0x00,//N 0x7c,0x82,0x82,0x82,0x7c,0x00,0x00,0x00,//O 0xfe,0x90,0x90,0x90,0x60,0x00,0x00,0x00,//P 0x7c,0x82,0x8a,0x84,0x7a,0x00,0x00,0x00,//Q 0xfe,0x90,0x98,0x94,0x62,0x00,0x00,0x00,//R 0x64,0x92,0x92,0x92,0x4c,0x00,0x00,0x00,//S 0x80,0x80,0xfe,0x80,0x80,0x00,0x00,0x00,//T 0xfc,0x02,0x02,0x02,0xfc,0x00,0x00,0x00,//U 0xf8,0x04,0x02,0x04,0xf8,0x00,0x00,0x00,//V 0xfc,0x02,0x1c,0x02,0xfc,0x00,0x00,0x00,//W 0xc6,0x28,0x10,0x28,0xc6,0x00,0x00,0x00,//X 0xc0,0x20,0x1e,0x20,0xc0,0x00,0x00,0x00,//Y 0x86,0x8a,0x92,0xa2,0xc2,0x00,0x00,0x00,//Z 0x04,0x2a,0x2a,0x2a,0x1e,0x00,0x00,0x00,//a 0xfe,0x12,0x22,0x22,0x1c,0x00,0x00,0x00,//b 0x1c,0x22,0x22,0x14,0x00,0x00,0x00,0x00,//c 0x1c,0x22,0x22,0x12,0xfe,0x00,0x00,0x00,//d 0x1c,0x2a,0x2a,0x2a,0x18,0x00,0x00,0x00,//e 0x10,0x7e,0x90,0x40,0x00,0x00,0x00,0x00,//f 0x18,0x25,0x25,0x25,0x3e,0x00,0x00,0x00,//g 0xfe,0x10,0x20,0x20,0x1e,0x00,0x00,0x00,//h 0xbe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//i 0x01,0x21,0xbe,0x00,0x00,0x00,0x00,0x00,//j 0xfe,0x08,0x14,0x22,0x00,0x00,0x00,0x00,//k 0x82,0xfe,0x02,0x00,0x00,0x00,0x00,0x00,//l 0x3e,0x20,0x10,0x20,0x1e,0x00,0x00,0x00,//m 0x3e,0x10,0x20,0x3e,0x00,0x00,0x00,0x00,//n 0x1c,0x22,0x22,0x1c,0x00,0x00,0x00,0x00,//o 0x3f,0x24,0x24,0x18,0x00,0x00,0x00,0x00,//p 0
评论
    相关推荐
    • ADSP-CM40x.rar
      ADSP CM402F_CM403F_CM407F_CM408F_CM409F最新文档
    • ADSP-BF53123中文手册.zip
      ADSP-BF531/2/3中文资料,进而帮助大家更好地了解、学习。
    • ADSP-BF592_cn.zip
      ADSP-BF592_cn PDF AD DSP 数据资料
    • ADI混合信号控制处理器 ADSP-CM408F 封装-电路方案
      ADSP-CM408F混合信号控制处理器集成双通道高精度16位ADC和一个 ARM:registered:Cortex-M4TM 处理器内核,其浮点运算单元工作于240 MHz的内核时钟频率,集成384KB SRAM存储器、2MB闪存,以及专门针对光伏(PV)逆变器...
    • ADSP-CM408F开发板原理图、硬件教程-电路方案
      ADSP-CM408F是基于ARM:registered: Cortex:registered:-M4内核的处理器,主要应用于电机控制和工业应用。基于ADSP-CM408F的EZ-KIT开发板套件包含了所有的硬件资源。附件提供了硬件使用指南,能让你轻松使用开发板。 ...
    • 基于ADI公司ADSP-CM408的电机控制系统-电路方案
      ADI公司的ADSP-CM4xx混合信号控制处理器采用ARM Cortex M4处理器内核,集成高精度 ADC、数字加速器和滤波器、 SRAM 和闪存以及丰富的外设。 ADSP-CM4xx处理器适用于要求高性能实时控制和模拟转换的广泛嵌入式应用。 ...
    • ADSP-CM408的电机控制系统rd-cm408-mc
      ADI公司的ADSP-CM40xF系列是基于ARM Cortex-M4处理核的带浮点单元的混合信号控制处理器,工作频率高达240MHz,集成了高达384KB SRAM,2MB闪存,用于马车控制和光伏(PV)逆变器控制的加速器和外设,以及包括两个16位SAR ...
    • ADSP-21477-21478-21479中文数据手册.rar
      SHARC里的21477/21478/21479中文数据手册,ADI自己做的,新手可以看看,开发建议还是看英文原版更准确。
    • ADSP-SC582-583-584-587-589-ADSP-21583-584-587-中文数据手册.rar
      SHARC里最新的5系列,以SC58X和2158X为主,SC是1个ARM+2个SHARC组成,不带SC的就是2个SHARC,性能超强,最大的特点是支持全景声,有兴趣可以看一下他得中文手册。
    • ADSP-21489中文数据手册.rar
      21489是音频DSP里非常热门的一颗,找了一下他的中文手册,刚入门的新手可以看一看,不过还是那句话,真正做开发,看英文手册最佳。