搜索资源列表
用C51实现单片机的中文输入法
- 拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针, 反回值为中文的起始地址,当为0时,杳询失败 -Pinyin input method disappear with the function : * unsigned char code py_ime (unsigned char input_py_val []) input_py_va
c51pyshurufa
- 一个用C51实现单片机的中文输入法,拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针,反回值为中文的起始地址,当为0时,杳询失败 -a C51 with the Chinese input method, Pinyin input method disappear with the function : * unsigned char code
key_poiter_program
- 用指针函数实现最快最简单的按键控制程序。 // 按键的四种不同工作状态对应的函数指针对照表,每三字节对应一个按键 // 每一项包含三个字节,分别代表按键码,键盘状态,对应处理程序编号 // 本表对应于日常操作,不是修改状态-function pointer to achieve the quickest and most simple keypad control procedures. / / Button four different working conditions cor
ZLIP0.2
- 51 单片机TCP_IP 协议栈ZLIP源码 单片机上网技术,是当前的一个热门技术。单片机上网技术中的一个重要部分是在单片 上实现TCP/IP 协议栈。现在可获得的TCP/IP 源代码一般并不为51 单片机设计,而51 单片 机和KeilC51 编译器有其自身的特点:存储类型、函数指针、重入函数等,ZLIP 就是针对 这些特点设计的TCP/IP 协议栈。-51 single-chip TCP_IP protocol stack source ZLIP single-chip In
9927417project
- 功能为菜单化操作12864屏显示当前时间与温度,扩展功能为控制12864以指针式时钟方式显示时间,已通过测试,运行正常。-Function of operation for the menu screen displays the current time and 12864 temperature, extension 12864 in order to control the pointer clock displayed the time, has been tested to run p
CJTISP
- 单片机的底层串口升级程序,可以适用于任何可自编程的单片机,本工程默认定位在0xF000地址,可根据需要在配置文件里更改。用户的应用程序只需定义如下函数指针void ( *update )()=0xF000 然后调用update() 就可以跳转到升级程序进行串口升级操作。-Microcontroller serial port to upgrade the underlying process can be applied to any self-programming of the MCU, t
LCD1602
- LCD1602程序,分模块编写,利用指针作为函数的变量操作.-LCD1602 program, sub-module is written using the pointer variable as a function of the operation.
111
- 单片机课件5--单片机的堆栈区与堆栈指针,特殊功能寄存器,片外数据存储器以及单片机的并行端口。-5-the single chip microcontroller courseware stack and stack pointer, special function registers, piece of data storage of single chip and the parallel port.
os1
- 1用PCB表示整个进程实体,利用随机数方法或键盘控制方法模拟进程执行中产生的事件,或者利用基于图形界面的鼠标或者键盘操作控制进程管理内容。 2定义PCB(可以采用静态结构或动态结构):包括理论PCB中的基本内容,如内部ID、外部ID、进程状态、队列指针。由于无法实现真正的进程创建功能,在实验中只需建立PCB,用它代表完整的进程。 3定义进程状态转换方式:进程的状态转换是由进程内部操作或操作系统的控制引起,由于无法实现这些功能,学生可以采用随机数方法或键盘控制方法模拟,并实现对应的控制程序
PIC-transport
- 详细讲述PIC用指针传递参数给函数的用法。-A detailed account of PIC with pointer arguments to the function.
1_6TFTclock
- 1.6TFT指针时钟 使用SMALL RTOS编写。带阴历和生肖图片的功能。编译环境KEIL.STC12C5A56S2的单片机-1.6TFT pointer clock SMALL RTOS to write. With the function of the lunar calendar and zodiac picture. Compile environmental KEIL.STC12C5A56S2 microcontroller
MENU
- LCD实现菜单功能,本人所写,界面切换使用的是质数法,对于不喜欢用指针,或用的不熟练的筒子有莫大帮助,这也是一种实现方法-LCD with menu function, I wrote, interface switching method used is a prime number, who do not like to use the pointer, or unskilled use of great assistance to the cheese, which is a method
AVRPC
- AVR单片机结构,C语言数据类型、函数和指针等基础,大量基于C语言的AVR单片机实例-AVR microcontroller structure, C language data types, function and pointer, etc, a large number of instances of AVR microcontroller based on C language
Pointer-state-machine
- 相对所谓的传统状态机编写方式来说,使用函数指针作为中间介质来进行间接调用的方式就是所谓的“指针法状态机”。 指针法状态机其本质与合作式调度器几乎就是同义词,或者说是调度器的一个“状态机”编程模式-Relative to write so-called traditional state machine approach, using a function pointer as an intermediate medium for indirect way is to invoke the s
mnsz
- TFT屏做显示,51控制,做了一个模拟时钟,有指针转动效果,同时用了DS1302,可以显示日期 测试效果很好 基本功能实现-TFT screen display, 51 control, made an analog clock, pointer rotation effect, at the same time using DS1302, can display the date The basic function test effect is very good
A4_P0FY
- 单片机编程提高参考实例之用函数型指针控制P0口灯花样-Examples of microcontroller programming to improve the reference control with the function pointer P0 port lights tricks
A5_CSZF
- 单片机编程提高参考实例之用指针数组作为函数的参数显示多个字符串-SCM improve pointer array reference example of a function as a parameter to display multiple strings
timer
- 单片机C语言提高资料! 熟了各个基本模块之后,就是要提高程序的鲁棒性和高效性,并且要便于移植.发几个个人觉得非常好的C语言资料.有些还是在其它论坛上花积分下来的.呵呵 首先,要重视程序的构架,这个会影响编程思路,.c .h文件要因地制宜地用.条理需要清楚. 其次,合适的时候多用指针,这个不用多说了.VC之所以流氓效率高,很大一部分原因是用了引用和指针. 另外,程序函数的接口要封装好,实参形参调用才方便,在适当的时候用数据参数,适当的时候用地址参数. 最后,结构体,联
ms4
- 实用单片机系统 基于消息机制的界面开发体系,非常不错,是把函数指针跟消息比较好的结合起来了,类似显卡,当数据有变化的时候,系统时钟扫描到,再定时刷新,这样系统编程清晰度非常高 基于NXP的Cortex M3 、LPC13XX开发的MS4,评估板是基于MCU123,按键为GPIO0.0和GPIO0.6,BUZZ为GPIO2.8,MS4基于MS3平台开发,结合多家评估板的程序而成。因此版本刚发布,可能存在一些bug,请大家可以联系作者QQ:26033613-Practical MCU syste
C之指针复杂解析
- int * (* (*fun) (int *)) [10]这是一个可能会让初学者感到头晕目眩,感到恐惧的函数指针的声明,在熟练掌握C/C++的声明语法之前,不学习一定的规则,想理解好这类复杂声明是比较困难的。 C/C++所有复杂的声明结构,都是由各种声明的嵌套构成的,如何理解复杂指针声明,右左法则是一个很著名,很有效的方法,不过,右左法则其实并不是C/C++标准里面的内容,它是从C/C++标准的声明规定中归纳出来的方法,C/C++标准声明规则,是用来解决如何创建声明的,而右左法则是用来解决