资源简介
该程序是基于vxworks嵌入式操作系统下的关于串口通信的程序实例。包含全部的源代码。

代码片段和文件信息
#include
#include
#include “usart.h“
/* A simple demonstration of serial communications which
* incorporates the on-board hardware USART of the Microchip
* PIC16Fxxx series of devices. */
void main(void){
unsigned char input;
INTCON=0; // purpose of disabling the interrupts.
init_comms(); // set up the USART - settings defined in usart.h
// Output a message to prompt the user for a keypress
printf(“\rPress a key and I will echo it back:\n“);
while(1){
input = getch(); // read a response from the user
printf(“\rI detected [%c]“input); // echo it back
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 620 2006-08-31 10:51 TestUart\main.c
文件 169 2006-09-16 09:34 TestUart\main.cce
文件 13352 2006-09-16 09:34 TestUart\main.lst
文件 1038 2006-09-16 09:34 TestUart\main.obj
文件 15936 2006-09-16 09:34 TestUart\main.rlf
文件 7697 2006-09-16 09:34 TestUart\main.sdb
文件 4731 2006-09-16 09:34 TestUart\Testuart.cof
文件 4182 2006-09-16 09:34 TestUart\Testuart.hex
文件 2241 2006-09-16 09:34 TestUart\Testuart.hxl
文件 1269 2006-09-16 09:34 TestUart\Testuart.lde
文件 11166 2006-09-16 09:34 TestUart\Testuart.map
文件 692 2006-09-16 09:30 TestUart\Testuart.mcp
文件 406 2006-09-16 09:44 TestUart\Testuart.mcs
文件 73728 2006-09-16 09:44 TestUart\Testuart.mcw
文件 1740 2006-09-16 09:30 TestUart\Testuart.mptags
文件 184 2006-09-16 09:43 TestUart\Testuart.stc
文件 4429 2006-09-16 09:34 TestUart\Testuart.sym
文件 83 2006-09-16 09:30 TestUart\Testuart.tagsrc
文件 434 2006-08-31 10:51 TestUart\usart.c
文件 169 2006-09-16 09:34 TestUart\usart.cce
文件 802 2006-08-31 10:51 TestUart\usart.h
文件 10280 2006-09-16 09:34 TestUart\usart.lst
文件 781 2006-09-16 09:34 TestUart\usart.obj
文件 10956 2006-09-16 09:34 TestUart\usart.rlf
文件 7812 2006-09-16 09:34 TestUart\usart.sdb
目录 0 2009-05-04 11:00 TestUart
----------- --------- ---------- ----- ----
174897 26
相关资源
- 解读AT89C2051遥控接收器电路设计原理
- 红外转串口通信含原理图和程序
- 易语言OTG串口通信
- DELPHI与西门子200PLC的串口通信实例
- VxWorks TCPIP协议栈
- 《Visual Basic 串口通信与测控应用技术
- Win7下安装Tornado2.2vxWorks5.5的方法
- Vxworks下网卡驱动程序的开发
- MFC串口通信
- 基于STM32的深海钻机甲板控制系统
- 4_USART串口通信(空闲中断+DMA.zip
- 三菱PLC串口通信调试软件.rar
- zynq-7000-vxworks-bsp.zip
- VC++ RS232 RS485串口通信源代码_
- 51串口通信程序+仿真
- Vxworks6.8 SMP编程指导
- 《基于VXWorks的嵌入式系统及实验》
- Visual Basic串口通信与测控应用技术实
- Visual Basic串口通信工程开发导航.(配
- Visual Basic.NET自动化系统监控.(范逸之
- Visual Basic串口通信与测控应用技术实
- Visual Basic串口通信与测控应用技术实
- VxWorks + Workbench开发
- 081_《Delphi串口通信编程》(4/4)
- 02_VxWorks7_开发环境Workbench介绍.pdf
- LabView虚拟仪器数据采集与串口通信测
- 串口通信并快速绘图
- STM32F103C8T6与MQTT通信的源码
- STM8S103系列IO模拟串口通信实现真正串
- STM32通过串口实现双机通信,达到数据
评论
共有 条评论