intel pxa27x平台中的uart接口驱动 (摘录曾慧鹏) - 丁雷专栏 - csdnblog.htm
来自「arm体系结构和编程,一份很好的ARM汇编编程资料」· HTM 代码 · 共 1,294 行 · 第 1/5 页
HTM
1,294 行
control, eventTarget, null, null, imageUrlDuringCallBack, textDuringCallBack, postCallBackFunction, preProcessOut ); }, null, includeControlValuesWithCallBack, updatePageAfterCallBack ); }}function AnthemListControl_OnClick( e, causesValidation, validationGroup, textDuringCallBack, enabledDuringCallBack, preCallBackFunction, postCallBackFunction, callBackCancelledFunction, includeControlValuesWithCallBack, updatePageAfterCallBack) { var target = e.target || e.srcElement; if (target.nodeName.toUpperCase() == "LABEL" && target.htmlFor != '') return; var eventTarget = target.id.split("_").join("$"); Anthem_FireCallBackEvent( target, e, eventTarget, '', causesValidation, validationGroup, '', textDuringCallBack, enabledDuringCallBack, preCallBackFunction, postCallBackFunction, callBackCancelledFunction, true, true );}function GetLabelText(id) { var labels = document.getElementsByTagName('label'); for (var i = 0; i < labels.length; i++) { if (labels[i].htmlFor == id) { return labels[i].innerHTML; } } return null;}function SetLabelText(id, text) { var labels = document.getElementsByTagName('label'); for (var i = 0; i < labels.length; i++) { if (labels[i].htmlFor == id) { labels[i].innerHTML = text; return; } }}//]]></SCRIPT>
<SCRIPT
src="C:\Documents and Settings\Administrator\My Documents\嵌入式技术\Intel PXA27x平台中的UART接口驱动 (摘录曾慧鹏) - 丁雷专栏 - CSDNBlog.files\WebResource(1).axd"
type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
<!--
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
// -->
</SCRIPT>
<DIV id=top>
<DIV>
<TABLE>
<TBODY>
<TR>
<TD class=HeaderTitles>
<H1><A class=headermaintitle id=Header1_HeaderTitle
href="http://blog.csdn.net/suck666/">丁雷专栏</A></H1>
<P id=tagline>追求梦想</P></TD></TR></TBODY></TABLE></DIV>
<DIV class=HeaderBar>
<TABLE class=HeaderBar id=HeaderBar>
<TBODY>
<TR>
<TD class=HeaderBarTab noWrap> <A href="http://www.csdn.net/"
target=_blank>CSDN</A> | <A href="http://community.csdn.net/"
target=_blank>社区</A> | <A href="http://dev.csdn.net/"
target=_blank>技术中心</A> | <A id=Header1_MyLinks1_HomeLink
title=到聚合站点 href="http://blog.csdn.net/"
target=_blank>BLOG首页</A> | <A id=Header1_MyLinks1_PersonalHome
title="访问 丁雷专栏" href="http://blog.csdn.net/suck666/"
target=_blank>我的首页</A> | <A id=Header1_MyLinks1_PersonalResume
href="http://job.csdn.net/resumes/suck666.aspx">个人档案</A> | <A
id=Header1_MyLinks1_ContactLink accessKey=9
href="http://blog.csdn.net/suck666/contact.aspx">联系作者</A> | <A
id=Header1_MyLinks1_Syndication
href="http://blog.csdn.net/suck666/Rss.aspx">聚合</A> <A class=XMLLink
id=Header1_MyLinks1_XMLLink
href="http://blog.csdn.net/suck666/Rss.aspx"><IMG
src="Intel PXA27x平台中的UART接口驱动 (摘录曾慧鹏) - 丁雷专栏 - CSDNBlog.files/xml.gif"
border=0></A> | <A id=Header1_MyLinks1_HyperLink1
href="http://search.csdn.net/search_blog.asp"
target=_blank>搜索</A> | <A id=Header1_MyLinks1_Admin
href="http://writeblog.csdn.net/">登录</A> <IMG id=Header1_BlueTab
src="Intel PXA27x平台中的UART接口驱动 (摘录曾慧鹏) - 丁雷专栏 - CSDNBlog.files/BlueTabRight.jpg"
align=absMiddle border=0> </TD>
<TD class=HeaderBarTabBack noWrap width="100%">
<DIV class=BlogStatsBar>
<TABLE class=BlogStatsBar>
<TBODY>
<TR>
<TD width="100%"></TD>
<TD class=BlogStatsBar noWrap> 0篇原创: 0篇翻译: 0篇转载: 0次点击:
0个评论<SPAN style="DISPLAY: none">: 0个Trackbacks</SPAN>
</TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></DIV>
<DIV id=leftmenu>
<H3 class=listtitle>文章</H3>
<UL class=list>
<LI class=listitem><A
href="http://blog.csdn.net/suck666/category/264412.aspx">wince</A><A
href="http://blog.csdn.net/suck666/category/264412.aspx/rss">(RSS)</A>
<LI class=listitem><A
href="http://blog.csdn.net/suck666/category/265842.aspx">生活</A><A
href="http://blog.csdn.net/suck666/category/265842.aspx/rss">(RSS)</A></LI></UL>
<H3 class=listtitle>收藏</H3>
<UL class=list></UL>
<H3 class=listtitle>相册</H3><!--category title-->
<UL class=list></UL>
<H3 class=listtitle>wince</H3>
<UL class=list></UL>
<H3 class=listtitle>存档</H3>
<UL class=list>
<LI><A
href="http://blog.csdn.net/suck666/archive/2006/12.aspx">2006年12月(4)</A></LI></UL><SPAN
id=Anthem_RecentComments_ltlComments__><SPAN
id=RecentComments_ltlComments></SPAN></SPAN><BR><BR></DIV>
<DIV id=main>
<DIV class=Tag>
<SCRIPT language=javascript
src="Intel PXA27x平台中的UART接口驱动 (摘录曾慧鹏) - 丁雷专栏 - CSDNBlog.files/urltag.aspx"></SCRIPT>
<DIV style="CLEAR: both"></DIV></DIV>
<SCRIPT>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</SCRIPT>
<DIV class=post>
<DIV class=postTitle><A
href="http://blog.csdn.net/suck666/archive/2006/12/21/"><IMG height=13
src="Intel PXA27x平台中的UART接口驱动 (摘录曾慧鹏) - 丁雷专栏 - CSDNBlog.files/authorship.gif"
width=15 border=0> Intel PXA27x平台中的UART接口驱动 (摘录曾慧鹏)</A> </DIV>
<DIV class=postText>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'"><FONT
size=3>一、铺垫</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT
size=3><SPAN lang=EN-US><FONT face="Times New Roman">UART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">是一种非常古老但是却一直保存在现有计算机系统中的接口,它可以把处理器对数据的并行处理转换成为串行的数据加以传输,这种接口非常简单但是依然特别常用,目前的嵌入式微处理器都</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">Build-In</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">了这种接口。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT
size=3><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">本人有幸在项目中接触了</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">PXA270</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">处理器,针对其中的</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">UART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">做过一些研究,想通过本文和大家分享。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT
size=3><SPAN lang=EN-US><FONT face="Times New Roman">PXA270</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">中有三个</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">UART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">接口,分别叫</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">FFUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">、</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">BTUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">和</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">STUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">,可以同时进行三个串口通讯。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT
size=3><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'"></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><V:SHAPETYPE id=_x0000_t75 coordsize="21600,21600" o:spt="75"
o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
stroked="f"><V:STROKE joinstyle="miter"></V:STROKE><V:FORMULAS><V:F
eqn="if lineDrawn pixelLineWidth 0"></V:F><V:F eqn="sum @0 1 0"></V:F><V:F
eqn="sum 0 0 @1"></V:F><V:F eqn="prod @2 1 2"></V:F><V:F
eqn="prod @3 21600 pixelWidth"></V:F><V:F
eqn="prod @3 21600 pixelHeight"></V:F><V:F eqn="sum @0 0 1"></V:F><V:F
eqn="prod @6 1 2"></V:F><V:F eqn="prod @7 21600 pixelWidth"></V:F><V:F
eqn="sum @8 21600 0"></V:F><V:F eqn="prod @7 21600 pixelHeight"></V:F><V:F
eqn="sum @10 21600 0"></V:F></V:FORMULAS><V:PATH o:extrusionok="f"
gradientshapeok="t" o:connecttype="rect"></V:PATH><O:LOCK aspectratio="t"
v:ext="edit"></O:LOCK></V:SHAPETYPE><V:SHAPE id=_x0000_s1027
style="WIDTH: 376.15pt; HEIGHT: 236.65pt; mso-position-horizontal: absolute; mso-position-horizontal-relative: char; mso-position-vertical: absolute; mso-position-vertical-relative: line"
type="#_x0000_t75" fillcolor="#cc0"><V:IMAGEDATA
src="file:///C:\DOCUME~1\FRED~1.ZEN\LOCALS~1\Temp\msohtml1\10\clip_image001.png"
o:title=""></V:IMAGEDATA><W:WRAP
type="none"></W:WRAP><W:ANCHORLOCK></W:ANCHORLOCK></V:SHAPE></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center"
align=center><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'"><IMG
alt=""
src="Intel PXA27x平台中的UART接口驱动 (摘录曾慧鹏) - 丁雷专栏 - CSDNBlog.files/Snap0.jpg"></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center"
align=center><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'"></SPAN></FONT> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center"
align=center><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">图</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">1 FFUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">的外部接口</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT
size=3><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">其中</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">FFUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">是一个接口最齐全的实现了所有的</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">UART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">特性的接口,另外两个接口都是</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">FFUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">的精简版,意思就是对一些不需要的信号线进行了删减。图</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">1</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">是</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">FFUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">(</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">FullFunction</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">)的外部接口图,拥有</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">8</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">根符合</SPAN><ST1:CHMETCNV
tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="16550"
unitname="a" w:st="on"><SPAN lang=EN-US><FONT
face="Times New Roman">16550A</FONT></SPAN></ST1:CHMETCNV><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">标准的信号线(地线除外)。</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">FFUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">可以用来处理任何和</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">UART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">兼容的通信;接下来是</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">BTUART</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">(</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">BlueTooth</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">),从它的名字可以知道它是推荐给</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">BT(</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">蓝牙</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">)</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">使用的接口,它拥有常用的四根信号线</SPAN><SPAN
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?