文件名称:usbtest
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:50.45kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
/*串行口操作模式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/
RESOURCE.H
RES/CURSOR1.CUR
RES/USBTEST.ICO
RES/USBTEST.RC2
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/
RESOURCE.H
RES/CURSOR1.CUR
RES/USBTEST.ICO
RES/USBTEST.RC2
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.