⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 embedded systems device driver development - page 5 of 9.htm

📁 嵌入实时系统中驱动程序的开发教程
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0067)http://www.microcontroller.com/wp/DeviceDrivers/device_drivers5.htm -->
<HTML><HEAD><TITLE>Embedded Systems Device Driver Development - page 5 of 9</TITLE>
<META content=text/html;charset=iso-8859-1 http-equiv=content-type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<SCRIPT language=JavaScript>

  var browser = navigator.appName
  var version = navigator.appVersion
  var ver1 = version.substring(0, 1)

  if (((browser == "Netscape") || (browser == "Mozilla")) && (ver1 >= 4) && (ver1 < 5)){
    document.write('<link rel=stylesheet href="./DeviceDrivers_Files/nn5.css" type="text/css">')
  } else{
    document.write('<link rel=stylesheet href="./DeviceDrivers_Files/ie5.css" type="text/css">')
  }

</SCRIPT>
<NOSCRIPT><LINK 
href="Embedded Systems Device Driver Development - page 5 of 9.files/ie5.css" 
rel=stylesheet type=text/css></NOSCRIPT></HEAD>
<BODY bgColor=#ffffff link=#0000ff text=#000000 vLink=#660099>
<TABLE width=694>
  <TBODY>
  <TR>
    <TD><A name=top></A>
      <DIV class=nb><IMG alt="Navigation bar" height=37 
      src="Embedded Systems Device Driver Development - page 5 of 9.files/navbar.gif" 
      width=694></DIV>
      <DIV class=nbe><IMG alt="" height=37 
      src="Embedded Systems Device Driver Development - page 5 of 9.files/navbarend.gif" 
      width=12></DIV>
      <DIV class=styleNavBarTop>
      <TABLE border=0 cellSpacing=0 height=32 width=692>
        <TBODY>
        <TR align=left>
          <TD width=20>&nbsp;</TD>
          <TD width=18><A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers.htm"><IMG 
            alt=Start border=0 height=14 
            src="Embedded Systems Device Driver Development - page 5 of 9.files/start.gif" 
            width=18></A></TD>
          <TD width=14><A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers4.htm"><IMG 
            alt="Previous page" border=0 height=14 
            src="Embedded Systems Device Driver Development - page 5 of 9.files/back.gif" 
            width=14></A></TD>
          <TD align=middle width=80>&nbsp;5 of 9&nbsp;</TD>
          <TD width=14><A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers6.htm"><IMG 
            alt="Next page" border=0 height=14 
            src="Embedded Systems Device Driver Development - page 5 of 9.files/forward.gif" 
            width=14></A></TD>
          <TD width=18><A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers9.htm"><IMG 
            alt=End border=0 height=14 
            src="Embedded Systems Device Driver Development - page 5 of 9.files/end.gif" 
            width=18></A></TD>
          <TD align=right width=50><A 
            href="http://microcontroller.com/wp"><IMG alt=Home border=0 
            height=14 
            src="Embedded Systems Device Driver Development - page 5 of 9.files/home.gif" 
            width=34></A></TD>
          <TD width=30>&nbsp;</TD>
          <TD align=left width=160><A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers.htm">1</A> 
            <A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers2.htm">2</A> 
            <A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers3.htm">3</A> 
            <A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers4.htm">4</A> 
            <A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers5.htm">5</A> 
            <A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers6.htm">6</A> 
            <A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers7.htm">7</A> 
            <A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers8.htm">8</A> 
            <A 
            href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers9.htm">9</A> 
          </TD>
          <TD width=290>&nbsp;</TD></TR></TBODY></TABLE>
      <P></P></DIV><NOBR>
      <DIV class=style5p34><IMG alt="" border=0 height=237 
      src="Embedded Systems Device Driver Development - page 5 of 9.files/image5_34.png" 
      width=434></DIV>
      <DIV class=style5p69><IMG alt="" border=0 height=323 
      src="Embedded Systems Device Driver Development - page 5 of 9.files/image5_69.png" 
      width=438></DIV>
      <DIV class=ts5p0><SPAN class=ft0p5></SPAN></DIV>
      <DIV class=ts5p1><SPAN class=ft0p5></SPAN></DIV>
      <DIV class=ts5p2><SPAN class=ft0p5>IAR Aug 2000 </SPAN></DIV>
      <DIV class=ts5p4><SPAN class=ft1p5>It is usually best to configure 
      low-level settings, such as the bus and interrupt controller, 
</SPAN></DIV>
      <DIV class=ts5p7><SPAN class=ft1p5>first as these may affect global 
      resources (in particular the number of available port </SPAN></DIV>
      <DIV class=ts5p8><SPAN class=ft1p5>pins).&nbsp; </SPAN></DIV>
      <DIV class=ts5p10><SPAN class=ft1p5></SPAN></DIV>
      <DIV class=ts5p11><SPAN class=ft0p5></SPAN></DIV>
      <DIV class=ts5p12><SPAN class=ft2p5>Figure 2: System setup of the bus 
      controller<SPAN class=ft3p5> </SPAN></SPAN></DIV>
      <DIV class=ts5p14><SPAN class=ft1p5></SPAN></DIV>
      <DIV class=ts5p15><SPAN class=ft4p5>Figure 2<SPAN class=ft1p5> shows 
      system configuration of the bus controller. External interfacing pins 
      (chip </SPAN></SPAN></DIV>
      <DIV class=ts5p18><SPAN class=ft1p5>select 2) have been enabled, like some 
      other features (for instance memory expansion </SPAN></DIV>
      <DIV class=ts5p19><SPAN class=ft1p5>mode). Other option pages can be used 
      to configure control pins, clocking, and the </SPAN></DIV>
      <DIV class=ts5p20><SPAN class=ft1p5>watchdog timer. </SPAN></DIV>
      <DIV class=ts5p23><SPAN class=ft1p5></SPAN></DIV>
      <DIV class=ts5p24><SPAN class=ft0p5></SPAN></DIV>
      <DIV class=ts5p25><SPAN class=ft2p5>Figure 3: Configuration of the 
      interrupt controller<SPAN class=ft3p5> </SPAN></SPAN></DIV>
      <DIV class=ts5p27><SPAN class=ft1p5></SPAN></DIV>
      <DIV class=ts5p28><SPAN class=ft4p5>Figure 3<SPAN class=ft1p5> shows the 
      dialog box for configuring the interrupt controller. INT1 and INT2 
      </SPAN></SPAN></DIV>
      <DIV class=ts5p30><SPAN class=ft1p5>have been enabled with Both edges and 
      Rising edge triggering, respectively. For this </SPAN></DIV>
      <DIV class=ts5p31><SPAN class=ft1p5>configuration, the code generator will 
      create an interrupt controller initialization function, 
      </SPAN></DIV></NOBR></TD></TR></TBODY></TABLE>
<DIV class=styleNavBarBot>
<TABLE border=0 cellSpacing=2 width=694>
  <TBODY>
  <TR></TR>
  <TR>
    <TD><A href="http://microcontroller.com/wp"><IMG 
      alt="Microcontroller.com White Papers" border=0 height=30 
      src="Embedded Systems Device Driver Development - page 5 of 9.files/micrologoSmall.gif" 
      width=291></A></TD>
    <TD></TD>
    <TD width=14><A 
      href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers4.htm"><IMG 
      alt="Previous page" border=0 height=14 
      src="Embedded Systems Device Driver Development - page 5 of 9.files/back.gif" 
      width=14></A></TD>
    <TD width=14><A 
      href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers5.htm#top"><IMG 
      alt=Top border=0 height=14 
      src="Embedded Systems Device Driver Development - page 5 of 9.files/top.gif" 
      width=14></A></TD>
    <TD width=14><A 
      href="http://www.microcontroller.com/wp/DeviceDrivers/device_drivers6.htm"><IMG 
      alt="Next page" border=0 height=14 
      src="Embedded Systems Device Driver Development - page 5 of 9.files/forward.gif" 
      width=14></A></TD>
    <TD></TD></TR></TBODY></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -