文件名称:usbtest
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 50kb
- 下载次数:
- 0次
- 提 供 者:
- r**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
/*串行口操作模式1:8位UART,波特率可变,11.0592晶振*/
TMOD = 0x20 /*定时器*计数器1的操作模式为2*/
PCON = 0x80|PCON /*SMOD 置1*/
TH1 = 0xfd /*定时器1的重装载值,此时若SMOD=0,9.6K SMOD=1,19.2K*/
TR1 = 1 /*定时器*计数器1开始工作*/
REN = 1 /*允许串行口接收*/-/* serial port mode 1:8 bit UART, variable baud rate, crystal* 11.0592/TMOD = 0x20/** timer counter a mode of operation for 2*/P CON = 0x80 | PCON/* 1* SMOD home/0xfd TH1 =/* Incorporation of a timer contains the value at this time if SMOD = 0,9.6 SMOD K = 1, 19.2K*/TR1 = 1/** counter a timer to start work*/ticker = 1/* Allow Serial Port receiver* /
TMOD = 0x20 /*定时器*计数器1的操作模式为2*/
PCON = 0x80|PCON /*SMOD 置1*/
TH1 = 0xfd /*定时器1的重装载值,此时若SMOD=0,9.6K SMOD=1,19.2K*/
TR1 = 1 /*定时器*计数器1开始工作*/
REN = 1 /*允许串行口接收*/-/* serial port mode 1:8 bit UART, variable baud rate, crystal* 11.0592/TMOD = 0x20/** timer counter a mode of operation for 2*/P CON = 0x80 | PCON/* 1* SMOD home/0xfd TH1 =/* Incorporation of a timer contains the value at this time if SMOD = 0,9.6 SMOD K = 1, 19.2K*/TR1 = 1/** counter a timer to start work*/ticker = 1/* Allow Serial Port receiver* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DEVIOCTL.H
README.TXT
RES
...\CURSOR1.CUR
...\USBTEST.RC2
RESOURCE.H
SLUSB.CPP
SLUSB.H
STDAFX.CPP
STDAFX.H
USBDLG.CPP
USBDLG.H
USBTEST.001
USBTEST.APS
USBTEST.CLW
USBTEST.CPP
USBTEST.DSP
USBTEST.DSW
USBTEST.H
USBTEST.MAK
USBTEST.MDP
USBTEST.NCB
USBTEST.OPT
USBTEST.PLG
USBTEST.RC
README.TXT
RES
...\CURSOR1.CUR
...\USBTEST.RC2
RESOURCE.H
SLUSB.CPP
SLUSB.H
STDAFX.CPP
STDAFX.H
USBDLG.CPP
USBDLG.H
USBTEST.001
USBTEST.APS
USBTEST.CLW
USBTEST.CPP
USBTEST.DSP
USBTEST.DSW
USBTEST.H
USBTEST.MAK
USBTEST.MDP
USBTEST.NCB
USBTEST.OPT
USBTEST.PLG
USBTEST.RC