搜索资源列表
实用单片机系统
- 增加ASCII.C的一个ASCI码(7F),用于虚拟按键用 修改UART串口的命令解析程序,修改RTC的pcf8563中断部分。 精简IIC和smart_timer代码,添加define.h的宏定义。 修改system.c里的消息堆栈的宏定义 增加ii.c函数,支持对eeprom的打包 增加由PLD或者GPIO输出的模拟UART,在6个CLOCK下速度为57.6K 增加消息的优先级功能,消息类型的前4位为消息的优先级,后4位为消息的类型 试用于初学单片机并且想更上一层
IICMaster
- 12Mhz标准51的100KHz IIC总线主器件模拟方式驱动程序。 本驱动程序即可以在没有Small RTOS的情况下使用。此时,要使用本驱动程序只需要配置IIC总线使用的IO口。在驱动程序的主文件iic_master.c仅包含一个文件config.h。用户需要的是在这个文件中设置IIC总线使用的IO口SDA和SCL。如果用户单独使用iic_master.c,还要在config.h包含iic_master.h文件和其它必须的文件如reg51等;并定义宏TRUE、FALSE和与编译器无关的
time-of-day
- * This a software code module for a time-of-day clock object. * The clock may be fixed 12-hour, fixed 24-hour, or dynamically * configurable between these two types. Clock data can be accessed * as a binary number representing the number of
watchdog
- watchdog 这是一个例程!可以参考一下!-#include <errno.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <sys/io.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h>