• 电圣
    了解作者
  • C/C++
    开发工具
  • 62KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 177
    下载次数
  • 2005-07-25 15:09
    上传日期
AT91的库函数结构说明PDF文档,好东西。
库函数结构.rar
  • www.pudn.com.txt
    218B
  • 库函数结构.pdf
    73.1KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/622b2e9fff7f9c46a6899d12/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/622b2e9fff7f9c46a6899d12/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0"><span class="fc1 sc0">1</span></div><div class="t m0 x2 h3 y2 ff1 fs1 fc0 sc0 ls1 ws1">A<span class="_ _0"></span>T91 Librar<span class="_ _1"></span>y V2.0</div><div class="t m0 x3 h4 y3 ff1 fs2 fc0 sc0 ls2 ws0">Scope</div><div class="t m0 x3 h2 y4 ff2 fs0 fc0 sc0 ls3 ws2">This d<span class="_ _1"></span>ocument d<span class="_ _1"></span>escribes<span class="_ _1"></span> the con<span class="_ _1"></span>tents of th<span class="_ _1"></span>e AT91 <span class="_ _1"></span>Librar<span class="_ _1"></span>y V2.0, e<span class="_ _1"></span>xplains<span class="_ _1"></span> its us<span class="_ _1"></span>es and</div><div class="t m0 x3 h2 y5 ff2 fs0 fc0 sc0 ls4 ws3">define<span class="_ _1"></span>s the nami<span class="_ _1"></span>ng and co<span class="_ _1"></span>ding ru<span class="_ _1"></span>les used <span class="_ _1"></span>in the <span class="_ _1"></span>source <span class="_ _1"></span>files. It a<span class="_ _1"></span>pplies <span class="_ _1"></span>to version<span class="_ _1"></span> 2.0.</div><div class="t m0 x3 h2 y6 ff2 fs0 fc0 sc0 ls5 ws4">The sect<span class="_ _1"></span>ion &#8220;G<span class="_ _1"></span>etting<span class="_ _1"></span> Started<span class="_ _1"></span> with the<span class="_ _1"></span> AT91 Li<span class="_ _1"></span>brary&#8221; on pa<span class="_ _1"></span>ge 4 provi<span class="_ _1"></span>des ins<span class="_ _1"></span>tallati<span class="_ _1"></span>on</div><div class="t m0 x3 h2 y7 ff2 fs0 fc0 sc0 ls6 ws5">instruc<span class="_ _1"></span>tions to<span class="_ _1"></span> get up and <span class="_ _1"></span>running q<span class="_ _1"></span>uickly. </div><div class="t m0 x3 h4 y8 ff1 fs2 fc0 sc0 ls7 ws6">What is the A<span class="_ _0"></span>T91 Librar<span class="_ _1"></span>y?</div><div class="t m0 x3 h2 y9 ff2 fs0 fc0 sc0 ls8 ws7">The AT91 Library is a set of C and assembly source code m<span class="_ _1"></span>odules and project files</div><div class="t m0 x3 h2 ya ff2 fs0 fc0 sc0 ls9 ws7">that enable AT91 dev<span class="_ _1"></span>elopers to quickly <span class="_ _1"></span>and easily define the <span class="_ _1"></span>architecture and <span class="_ _1"></span>the</div><div class="t m0 x3 h2 yb ff2 fs0 fc0 sc0 lsa ws8">periphe<span class="_ _1"></span>rals of t<span class="_ _1"></span>heir intend<span class="_ _1"></span>ed appl<span class="_ _1"></span>ication,<span class="_ _1"></span> using an<span class="_ _1"></span>y of the<span class="_ _1"></span> supported t<span class="_ _1"></span>oolkits<span class="_ _1"></span>. </div><div class="t m0 x3 h2 yc ff2 fs0 fc0 sc0 lsb ws9">This A<span class="_ _1"></span>T91 Lib<span class="_ _1"></span>rary soft<span class="_ _1"></span>ware pac<span class="_ _1"></span>kage sup<span class="_ _1"></span>ports al<span class="_ _1"></span>l the AT<span class="_ _1"></span>91 AR<span class="_ _1"></span>M Thumb <span class="_ _1"></span>microcont<span class="_ _1"></span>rol-</div><div class="t m0 x3 h2 yd ff2 fs0 fc0 sc0 ls6 ws5">lers an<span class="_ _1"></span>d the assoc<span class="_ _1"></span>iated eva<span class="_ _1"></span>luation b<span class="_ _1"></span>oards.</div><div class="t m0 x3 h2 ye ff2 fs0 fc0 sc0 lsc wsa">The AT91 <span class="_ _1"></span>Librar<span class="_ _1"></span>y V2.0 co<span class="_ _1"></span>ntains: </div><div class="t m0 x3 h2 yf ff2 fs0 fc0 sc0 lsd wsb">&#8226;<span class="_ _2"> </span>Header fi<span class="_ _1"></span>les in C <span class="_ _1"></span>that define <span class="_ _1"></span>the A<span class="_ _3"></span>T91 per<span class="_ _1"></span>ipheral<span class="_ _1"></span>s and par<span class="_ _4"></span>ts </div><div class="t m0 x3 h2 y10 ff2 fs0 fc0 sc0 lse wsc">&#8226;<span class="_ _2"> </span>Assembly Incl<span class="_ _1"></span>ude files<span class="_ _1"></span> that defi<span class="_ _1"></span>ne the A<span class="_ _3"></span>T91 p<span class="_ _1"></span>eri<span class="_ _1"></span>pheral and p<span class="_ _1"></span>ar<span class="_ _1"></span>t ass<span class="_ _1"></span>embly langua<span class="_ _1"></span>ge</div><div class="t m0 x3 h2 y11 ff2 fs0 fc0 sc0 ls6 wsc">&#8226;<span class="_ _2"> </span>Example<span class="_ _1"></span>s of how to acc<span class="_ _1"></span>ess the<span class="_ _1"></span> A<span class="_ _0"></span>T9<span class="_ _1"></span>1 per<span class="_ _1"></span>ipherals <span class="_ _1"></span>with or wi<span class="_ _1"></span>thout inter<span class="_ _1"></span>rup<span class="_ _1"></span>t handling</div><div class="t m0 x3 h2 y12 ff2 fs0 fc0 sc0 lsd wsb">&#8226;<span class="_ _2"> </span>C star<span class="_ _1"></span>t-<span class="_ _1"></span>up files th<span class="_ _1"></span>at explain how to boot a<span class="_ _1"></span>n A<span class="_ _3"></span>T91 par<span class="_ _4"></span>t, and <span class="_ _1"></span>how to branch on <span class="_ _1"></span>the </div><div class="t m0 x4 h2 y13 ff2 fs0 fc0 sc0 lsd wsb">main C func<span class="_ _1"></span>tion</div><div class="t m0 x3 h2 y14 ff2 fs0 fc0 sc0 lsf wsd">&#8226;<span class="_ _2"> </span>Project<span class="_ _1"></span> e<span class="_ _5"></span>xamples<span class="_ _1"></span> that show dif<span class="_ _1"></span>f<span class="_ _5"></span>erent as<span class="_ _1"></span>pects o<span class="_ _1"></span>f the de<span class="_ _1"></span>bug f<span class="_ _5"></span>eatures, such a<span class="_ _1"></span>s semi-</div><div class="t m0 x4 h2 y15 ff2 fs0 fc0 sc0 lsd ws0">hosting</div><div class="t m0 x3 h2 y16 ff2 fs0 fc0 sc0 lsd wsb">&#8226;<span class="_ _2"> </span>T<span class="_ _3"></span>arget tool<span class="_ _1"></span>s with whic<span class="_ _1"></span>h to e<span class="_ _5"></span>valuate the A<span class="_ _3"></span>T9<span class="_ _1"></span>1 par<span class="_ _1"></span>ts</div><div class="t m0 x3 h2 y17 ff2 fs0 fc0 sc0 ls10 wse">The AT91 Lib<span class="_ _1"></span>rary V2.0<span class="_ _1"></span> also provides<span class="_ _1"></span> one softwar<span class="_ _1"></span>e library for ea<span class="_ _1"></span>ch of the <span class="_ _1"></span>supported</div><div class="t m0 x3 h2 y18 ff2 fs0 fc0 sc0 lsf wsf">parts a<span class="_ _1"></span>nd one co<span class="_ _1"></span>mmon sof<span class="_ _1"></span>tware <span class="_ _1"></span>library <span class="_ _1"></span>for the c<span class="_ _1"></span>omple<span class="_ _1"></span>te set of <span class="_ _1"></span>drivers<span class="_ _1"></span>. All pr<span class="_ _1"></span>ojects an<span class="_ _1"></span>d</div><div class="t m0 x3 h2 y19 ff2 fs0 fc0 sc0 ls3 ws2">tools us<span class="_ _1"></span>e these libr<span class="_ _1"></span>aries by<span class="_ _1"></span> mounting <span class="_ _1"></span>a part li<span class="_ _1"></span>brary <span class="_ _1"></span>and, if re<span class="_ _1"></span>quired, the d<span class="_ _1"></span>river li<span class="_ _1"></span>brary.</div><div class="t m0 x3 h4 y1a ff1 fs2 fc0 sc0 ls11 ws10">Definition of T<span class="_ _6"></span>erms</div><div class="t m0 x3 h2 y1b ff2 fs0 fc0 sc0 ls0 ws0">&#8226;<span class="_ _7"> </span><span class="ff1 ls12">Device</span><span class="ls13 ws11"> is us<span class="_ _1"></span>ed to indic<span class="_ _1"></span>ate device<span class="_ _1"></span>s used<span class="_ _1"></span> by the opera<span class="_ _1"></span>ting sys<span class="_ _1"></span>tems, suc<span class="_ _1"></span>h as Flash</span></div><div class="t m0 x4 h2 y1c ff2 fs0 fc0 sc0 ls14 ws0">memory<span class="_ _1"></span>.</div><div class="t m0 x3 h2 y1d ff2 fs0 fc0 sc0 ls0 ws0">&#8226;<span class="_ _7"> </span><span class="ff1 ls15 ws12">Part (<span class="_ _1"></span>or pa<span class="_ _1"></span>rts)</span><span class="ls6 ws13"> is<span class="_ _1"></span> used fo<span class="_ _1"></span>r any d<span class="_ _1"></span>evice of <span class="_ _1"></span>the AT91<span class="_ _1"></span> ARM <span class="_ _1"></span>Thumb f<span class="_ _1"></span>amily</span></div><div class="t m0 x4 h2 y1e ff2 fs0 fc0 sc0 ls16 ws14">(AT91M40800, AT91M6<span class="_ _5"></span>3200, etc.). It is used instead of &#8220;<span class="_ _5"></span>device&#8221; to prevent any</div><div class="t m0 x4 h2 y1f ff2 fs0 fc0 sc0 ls3 ws2">confusi<span class="_ _1"></span>on with the <span class="_ _1"></span>devices<span class="_ _1"></span> used by<span class="_ _1"></span> the oper<span class="_ _1"></span>ating sy<span class="_ _1"></span>stems.</div><div class="t m0 x3 h2 y20 ff2 fs0 fc0 sc0 ls0 ws0">&#8226;<span class="_ _7"> </span><span class="ff1 ls17">Periph<span class="_ _1"></span></span><span class="ls18 ws15"> is used to<span class="_ _1"></span> mean pe<span class="_ _1"></span>ripherals.</span></div><div class="t m0 x3 h2 y21 ff2 fs0 fc0 sc0 ls0 ws0">&#8226;<span class="_ _7"> </span><span class="ff1 ls19 ws16">Target (o<span class="_ _5"></span>r tar<span class="_ _5"></span>gets)<span class="ff2 lsa ws17"> refers to any eval<span class="_ _1"></span>uation boar<span class="_ _1"></span>d or any custom<span class="_ _1"></span>er-spec<span class="_ _1"></span>ific boar<span class="_ _1"></span>d</span></span></div><div class="t m0 x4 h2 y22 ff2 fs0 fc0 sc0 lsb ws18">fittin<span class="_ _1"></span>g an AT9<span class="_ _1"></span>1 ARM Thu<span class="_ _1"></span>mb micr<span class="_ _1"></span>ocontro<span class="_ _1"></span>ller.</div><div class="t m0 x5 h5 y23 ff1 fs3 fc0 sc0 ls1a ws0">AT<span class="_ _8"></span>9<span class="_ _8"></span>1</div><div class="t m0 x5 h5 y24 ff1 fs3 fc0 sc0 ls1b ws0">ARM</div><div class="t m0 x6 h6 y25 ff1 fs4 fc0 sc0 ls0 ws0">&#174;</div><div class="t m0 x7 h5 y26 ff1 fs3 fc0 sc0 ls1c ws19"> Thumb</div><div class="t m0 x8 h6 y25 ff1 fs4 fc0 sc0 ls0 ws0">&#174;</div><div class="t m0 x9 h5 y26 ff1 fs3 fc0 sc0 ls0 ws0"> </div><div class="t m0 x5 h5 y27 ff1 fs3 fc0 sc0 ls1d ws0">Micr<span class="_ _5"></span>ocontr<span class="_ _5"></span>o<span class="_ _5"></span>ller<span class="_ _5"></span>s</div><div class="t m0 x5 h5 y28 ff1 fs3 fc0 sc0 ls1e ws0">Application</div><div class="t m0 x5 h5 y29 ff1 fs3 fc0 sc0 ls1d ws0">Note</div><div class="t m0 xa h7 y2a ff2 fs5 fc0 sc0 ls1f ws1a">Rev<span class="_ _5"></span>. 1385<span class="_ _5"></span>A&#8211;11<span class="_ _5"></span>/00</div></div><div class="pi" data-data='{"ctm":[1.568627,0.000000,0.000000,1.568627,0.000000,0.000000]}'></div></div> </body> </html>
评论
  • PUDN用户 2005-11-14 16:21:19
    不能打开
相关推荐