CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - bit c
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Games
SDK
Other
Search - bit c - List
[
Other resource
]
FFTcode
DL : 0
快速傅立叶变换的C源代码,可以移植到各种8位-32位的单片机上-Fast Fourier Transform C source code can be transferred to various 8-bit MCU -32 on
Date
: 2008-10-13
Size
: 27.02kb
User
:
张三
[
Other resource
]
多级菜单
DL : 0
/*[原创]一个树形多级菜单参考程序 这是一个用于车载电话的菜单程序,可以看成是手机功能菜单的简化板. 我所认为的树形多级菜单是指:在一个父菜单项目下面有多个子菜单, 子菜单下面又有多个孙菜单...,进入下层菜单主要依*当前选中的索引.有点象文件的目录结构. 本木从前实现这类的菜单主要*分层的switch语句,每层都是一个switch.但当我看到晓奇大侠的 程序和耳朵灌满lq等人的争论后,那时那地,我的心境变化了,我意识到指针代表了先进的生产力, 代表了社会的发展方向,是建设和谐社会的必要条件.不管你用了多长时间C语言,只要你不善于用 一个小针指来指去,你就是那种\"用嘴吃饭的高贵骑士,决不用屁股装弹步枪\"的守旧分子和社会发 展的绊脚石.(跑题太远,删去1万字...打住) .言归正传,下面的程序适用CPU为Mega16,编译器为CVAVR 1.24.4a 由于按键数目较多,所以按键程 序把按键事件分为数字键,快捷键,确认键,取消键,上下翻键几类,以减小菜单结构的容量.一下菜单 数据在菜单结构数组中的偏移量,有多少个菜单象就有多少个宏定义*/-/ * [original] tree is a multi-level menu reference to a procedure which is used in car phone menu procedures can be seen as a feature to simplify the menu board. I think the tree is a multi-level menu means : a father in the following menu items have sub menu, sub-menus there are a number below SUN ... menu, the main menu into classes according to the current selected * Index. a bit like the directory structure. the wood used to achieve this main menu * stratification of the switch statement, is a switch on each floor. but when I saw the Xiaoyi heroes procedures and ears filled with lq others vying On, then that to my mind changed, I realized indicators represent the advanced productive forces, represents the orientation and social development, the building of a harmonious society is a ne
Date
: 2008-10-13
Size
: 2.47kb
User
:
崔敬军
[
Other resource
]
rc6_avr
DL : 0
AVR单片机的优化RC6 加密算法(速度快,其优化思想绝对值得学习) 在有128bytes RAM 的AVR单片机上执行 rc6 16/10/8(16 bit/10 rounds/8 bytes keys) * 对多数代码进行了 C 语言优化,对数据相关循环移位,模乘等用ASM优化 * 在4MHz无乘法器的AVR上得到平均 1172 Bytes/s的加解密速度。 * 编译器: AVR-G-AVR optimization RC6 encryption algorithm (faster, optimizing their thinking definitely worth learning) 128bytes of RAM in the AVR on the implementation of production 16/10/8 (16 bit/10 rounds / 8 bytes keys) * for the majority of code optimization of the C language the data related to cycle shift, mode used by other optimization * ASM 4MHz without the multiplier be average AVR 1172 Bytes / s speed encryption and decryption. * Compiler : AVR-G
Date
: 2008-10-13
Size
: 5.72kb
User
:
陈谭
[
Other resource
]
TLC0831A8位AD转换器(C语言驱动程序)
DL : 0
TLC0831A8位A/D转换器(C语言驱动程序)-TLC0831A8-bit A / D converter (C driver)
Date
: 2008-10-13
Size
: 3.01kb
User
:
刘翔
[
Other resource
]
410-C.ZIP
DL : 0
msp430是ti公司的16位单片机,具有低功耗的特性,用在控制系统十分理想,是很有前途的单片机新品种,这是mps430-410单片机的调试程序-Controller is the 16-bit microcontroller with a low power consumption characteristics of the control system with a very good, very promising new varieties MCU, which is mps430-410 MCU debugger
Date
: 2008-10-13
Size
: 23.29kb
User
:
波澜不惊
[
Other resource
]
TLC0831A8位AD转换器
DL : 0
TLC0831A8位A/D转换器(C语言驱动程序) -TLC0831A8-bit A / D converter (C driver)
Date
: 2008-10-13
Size
: 912byte
User
:
徐彬
[
Other resource
]
C51与ansic不同点讲解
DL : 0
从c到c51的过程,就这么的一点不同,这个电子资料有所记载,希望对大家有帮助-from c to c51 process, a little bit different so that the electronic data is documented, we hope to help
Date
: 2008-10-13
Size
: 252.56kb
User
:
郑帼英
[
Other resource
]
graspforth
DL : 0
graspForth is my humble attempt at a Forth-in-C that has the following goals: GCC ......... to support all 32-bit micros that GCC cross-compiles to. Relocatable . to be able to run in-place in either Flash or Ram. Fast ........ to be \"not much\" slower than an assembly based native Forth. Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machine. Portable .... to achieve a 5 minute port to a new 32bit micro-processor, or micro-controller. -graspForth is my humble attempt at a Forth - in-C that has the following goals : ......... GCC to support all 32-bit micros that GCC cross-compiles to. Relocatable. to be able to run in-place in either Flash or Ram. Fast .... .... to be "not much" slower than an assembly bas ed native Forth. Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machi ne. Portable .... to achieve a 5 minute port to a n EW 32bit micro-processor, or micro-controller.
Date
: 2008-10-13
Size
: 25.04kb
User
:
Jet Lan
[
Other resource
]
isee_thum
DL : 0
图像缩放代码由是JPEG组的analyst编写,特点是可以对32位的图像数据进行任何比例的缩放操作,代码是经过MMX优化的在线汇编,速度相当快(大概是同功能C++代码的十倍以上,在ISee中我们用它来生成拇指图,效果很不错的)。-image scaling code from JPEG is the analyst group prepared, it is characterized by a pair of 32-bit image data scaling proportion of any operation, After MMX code is optimized online compilation, very fast (roughly the same function code C over 10 times, in ISee we use it to the thumb generation plans, the effect is quite good).
Date
: 2008-10-13
Size
: 3.34kb
User
:
zhangxp
[
Other resource
]
vcFFT
DL : 0
这是本人写的用vc6.0调用matlab6.5的一个程序(使用matlab引擎),实现用FFT分析复谐波信号频谱,并调用matlab来显示最终的频谱。希望对各位有点帮助。也欢迎各位提意见。 matlab位于c:\\matlab6p5 操作系统是:windows2000 -I write this is the call matlab6.5 vc6.0 with a procedure (using Matla b engine) to achieve using FFT analysis Minute harmonic signal spectrum, and calls to Matlab end of the spectrum shows. You want a bit of help. You are welcome to make suggestions. Matlab is located at c : \\ matlab6p5 operating system is : windows2000
Date
: 2008-10-13
Size
: 9.85kb
User
:
caozhui
[
Other resource
]
8052os
DL : 0
/*看大家都在学操作系统,我也想学学。所以想用51写一个来玩玩,发现比较郁闷。 弄了几下,不想再弄了,51弄这个没啥意思。我用的89S52,除了速度慢,RAM资源 太少之外,其它都还过得去。弄了一点代码出来,放在那也没啥用,不如拿上来 给新手看看,一个任务调度的雏形是什么样子的~~~~~~~~~这些代码没有经过优化, 我只求实现任务切换的功能。 利用定时器2产生10mS的定时中断作为时钟节拍,任务切换时保存工作寄存器等操作 嵌入了汇编指令,因此Task_Switch.C文件要做相应的设置才能编译通过。受硬件资源和编译器的限制,有很多无奈。程序只好这样写了,不管怎么说,到底是能调度起来了。 注:这里是老版本,后面又改动的新版本。-/ * see everyone in school operating systems, I also want to learn. So I would like to use 51 to write a play and found to be relatively depressed. Get a few, do not want to wander and get the 51 lacks meaning. I use the 89S52, in addition to the slow speed, RAM too few resources, the other is still decent. Get a bit code and placed it also lacks used, it is better to put up with the newcomers to see, a task scheduling is a prototype of what the code of ~~~~~~~~~ without optimization, I want to achieve task switching function. Use timers 10mS two have regularly interrupted as the clock rhythms, task switching preservation register as a compilation of embedded operating instructions, therefore Task_Switch.C document to be done to set up the corresponding compile. By hardware resources and c
Date
: 2008-10-13
Size
: 2.84kb
User
:
谢军
[
Other resource
]
dspjiangyiheshiyan
DL : 0
五部分,第一部分介绍 32位浮点处理器SHARC系列ADSP-2106X的硬件结构及其主要特征、指令系统、汇编语言和C语言程序设计方法。第二部分介绍ADI公司的16位定点处理器 ADSP-218X系列的硬件结构及其主要特征、指令系统、汇编语言和C语言程序设计方法。第三部分介绍VisualDSP++的特点和集成开发调试环境(IDDE)使用方法。第四部分介绍SHARC EZ-KIT和ADSP-218X EZ-KIT的特点、功能及其使用技巧。第五部分介绍DSP在数字信号处理中的应用,给出了大量的实验-5, the first part gives 32-bit floating point processor SHARC family, the ADSP-2106X the hardware structure and its main features instruction, assembly language and C language programming method. The second part of ADI introduced the 16-bit fixed-point processor ADSP-218X series of hardware architecture and its main features instruction, assembly language and C language programming method. The third section presents the characteristics and VisualDSP integrated development debugging environment (IDDE) use. The fourth part gives SHARC EZ-KIT and ADSP-218X EZ-KIT characteristics, Function and use skills. The fifth section presents DSP digital signal processing applications, is a lot of experiments
Date
: 2008-10-13
Size
: 2.8mb
User
:
刘宏
[
Other resource
]
P410-C
DL : 0
很好的MSP430F149C语言例子程序,系列1,再配合硬件开发板将很容易掌握430这个高性能16位单片机-good example MSP430F149C language procedures, Series 1, together with hardware development board will be very easy for the 430 high-performance 16-bit microcontroller
Date
: 2008-10-13
Size
: 6.72kb
User
:
孙汉明
[
Other resource
]
7290C-datebase
DL : 0
此软件包包含了模拟I2C C51程序软件包和ZLG7290的C51程序然后包。 软件包的接口界面: (1) bit ISendByte(uchar sla,uchar c) (无子地址)写单字节数据 (现行地址写) (2) bit IRcvByte(uchar sla,uchar *c) (无子地址)读单字节数据 (现行地址读) (3) bit ISendStr(uchar sla,uchar suba,uchar *s,uchar no)(有子地址)读N字节数据 (4) bit IRcvStr(uchar sla,uchar suba,uchar *s,uchar no) (有子地址)写N字节数据 (5) bit ISendStr(uchar sla,uchar *s,uchar no) (无子地址)写多字节数据 (6) bit IRcvStr(uchar sla,uchar *s,uchar no) (无子地址)读单字节数据 (7) unsigned char ZLG7290_SendData(unsigned char SubAdd,unsigned char Data) (8) void ZLG7290_SendBuf(unsigned char * disp_buf,unsigned char num) (9) unsigned char ZLG7290_SendCmd(unsigned char Data1,unsigned char Data2) (10)unsigned char ZLG7290_GetKey() -This package contains the I2C C51 process simulation software packages and Wire procedure, and then the C51 packets. The package interface : (1) bit ISendByte (uchar acids, uchar c) (no sons address) to write single-byte data (current addresses to write) (2) bit IRcvByte (uchar acids, uchar * c) (no sons address) Reading single-byte data (the current address of Reading) (3) bit ISendSt r (uchar acids, uchar SUBA, uchar * s, uchar no) (a sub-address) Reading N bytes of data (4) bit IRcvStr (s uchar la, uchar SUBA, uchar * s, uchar no) (a sub-address) N byte write data (5) bit ISendStr (uchar cleavage, uchar * s, uchar no) (no sons address) to write multi-byte data (6) bit IRcvStr (s uchar la, uchar * s, uchar no) (no sons address) Reading single-byte data (7) unsigned char ZLG72 90_SendData
Date
: 2008-10-13
Size
: 13.17kb
User
:
梁立林
[
Other resource
]
BankServer
DL : 0
C++语言实现自动取款机ATM智能查询系统的编程,有点简单,希望大家不要见笑!-C + + language for automatic teller machines ATM Intelligent Query System programming, a bit simple. we should not laughed at!
Date
: 2008-10-13
Size
: 250.54kb
User
:
吴志华
[
Other resource
]
Cfordsp
DL : 0
数字信号处理C语言程序集,对于搞数字信号处理的应该有点帮助吧-digital signal processing procedures set C language, engage in the digital signal processing should help it a bit
Date
: 2008-10-13
Size
: 9.74mb
User
:
小熊
[
Other resource
]
PinYin_InputMethod_C51
DL : 1
用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。 原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。 因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的 :-( 编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。 在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。 打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。-C51 with the Pinyin input method, which is rewritten netizens embuffalo. Unrivaled www.21ic.com available in the free publication of the original work by Kai-51 on the Pinyin input method procedures . Appreciate the use of a two-dimensional array for the look-up table, I think this is a waste of space. Each of the characters but the index table to manually input address, efficiency is not high. I use the structure to rewrite a bit. We see now is this. Because the code comparison, a total of 6, more than 000 Chinese characters, this must be 12, byte to store 000 GB code, is not the way to compile results :-( about 3000h. because most of the index table. Code Optimization almost ineffective. Keil in the C simulation uses the chip in W77E58 Winbond, It has 32 k ROM 256B on-chip RAM, 1K on-chi
Date
: 2008-10-13
Size
: 14.28kb
User
:
Jawen
[
Other resource
]
c++code
DL : 0
一个俄罗斯方块的源代码,有点笨的…… 请多多指教-a box of source code, a bit stupid ... Please exhibitions
Date
: 2008-10-13
Size
: 4.04kb
User
:
小虫子
[
Other resource
]
C-mean
DL : 0
模糊C均值算法的m文件带自己的解释,希望能给大家一点学习上的帮助。 -fuzzy c-means algorithm m document with its own interpretation, in the hope of giving the public a little bit of learning assistance.
Date
: 2008-10-13
Size
: 13.49kb
User
:
孙李娜
[
Other resource
]
SGA-C
DL : 0
SGA-C使用机器级的bit串以提高效率,每条染色体都在运行时动态分配内存。本程序运行起来并不优雅,但作为遗传算法的入门之作绰绰有余
Date
: 2008-10-13
Size
: 54.19kb
User
:
增平
«
1
2
3
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.