tyShow
所属分类:VxWorks
开发工具:Others
文件大小:6KB
下载次数:209
上传日期:2006-12-04 11:38:01
上 传 者:
管理员
说明: vxworks 串口通信程序例子
对vxworks下开发串口通信程序很有帮助
(vxworks serial communication program examples right under development vxworks serial communication program helpful)
文件列表:
tyShow\sysSpiNvRam.c (20138, 2002-07-17)
tyShow\tyShow.c (2817, 2002-07-17)
tyShow (0, 2006-12-04)
FILE LIST -
tyShow.c
DESCRIPTION -
This routine is designed to list the values of internal variables in a TY_DEV structure. Every serial device known to the OS is represented with a TY_DEV structure and when a serial failure occurs itis helpful to know the state of this structure.
RUNNING DEMO -
Place the tyShow.c in your dir.
Add this file to your project, re-build projectName.out and download it.
To run this code invoke iosDevFind(), the simplest way to have a pointer to the TY_DEV structure, and tyShow() to print the contents of each field.
TESTED ON - Host/Target : Solaris 5.5.1 / mv1604
VxWorks : 5.4
OUTPUT -
On VxWorks target:
=================
-> pDevHdr = iosDevFind ("/tyCo/0",0)
-> tyShow (pDevHdr)
近期下载者:
相关文件:
收藏者: