亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? interfacing the extended capabilities port.htm

?? 并口的接口規范
?? HTM
?? 第 1 頁 / 共 3 頁
字號:
              Data Cycle.</FONT></CENTER></TD>
            <TD><B>1. Data is placed on Data lines by Host.</B><BR>2. Host 
              then indicates a Data Cycle will proceed by asserting 
              HostAck.<BR><B>3. Host indicates valid data by asserting HostClk 
              low.</B><BR>4. Peripheral sends its acknowledgment of valid data 
              by asserting PeriphAck.<BR><B>5. Host de-asserts HostClk high. +ve 
              edge used to shift data into the Peripheral.</B><BR>6. Peripheral 
              sends it's acknowledgment of the byte via de-asserting PeriphAck. 
            </TD></TR></TBODY></TABLE></CENTER><BR><A name=5><I><FONT size=+2>ECP 
        Forward Command Cycle</FONT></I></A> 
        <HR>
        <BR>
        <CENTER>
        <TABLE border=0>
          <TBODY>
          <TR>
            <TD><IMG alt="Enhanced Capabilities Port Forward Command Cycle" 
              src="Interfacing the Extended Capabilities Port.files/ecpfcomm.gif" 
              border=0> <BR>
              <CENTER><FONT size=-1>Figure 2. Enhanced Capabilities Port Forward 
              Command Cycle.</FONT></CENTER></TD>
            <TD><B>1. Data is placed on Data lines by Host.</B><BR>2. Host 
              then indicates a Command cycle will proceed by de-asserting 
              HostAck.<BR><B>3. Host indicates valid data by asserting HostClk 
              low.</B><BR>4. Peripheral sends its acknowledgment of valid data 
              by asserting PeriphAck.<BR><B>5. Host de-asserts HostClk high. +ve 
              edge used to shift data into the Peripheral.</B><BR>6. Peripheral 
              sends it's acknowledgment of the byte via de-asserting PeriphAck. 
            </TD></TR></TBODY></TABLE></CENTER><BR><A name=6><I><FONT size=+2>ECP 
        Reverse Data Cycle</FONT></I></A> 
        <HR>
        <BR>
        <CENTER>
        <TABLE border=0>
          <TBODY>
          <TR>
            <TD><IMG alt="Enhanced Capabilities Port Reverse Data Cycle" 
              src="Interfacing the Extended Capabilities Port.files/ecprdata.gif" 
              border=0> <BR>
              <CENTER><FONT size=-1>Figure 3. Enhanced Capabilities Port Reverse 
              Data Cycle.</FONT></CENTER></TD>
            <TD>
              <UL><B>1. Host sets nReverseRequest Low to request a reverse 
                channel.</B><BR>2. Peripheral acknowledges reverse channel 
                request via asserting nAckReverse low.<BR><B>3. Data is placed 
                on data lines by Peripheral.</B><BR>4. Data cycle is then 
                selected by Peripheral via PeriphAck going high.<BR><B>5. Valid 
                data is indicated by the Peripheral setting PeriphClk 
                low.</B><BR>6. Host sends its acknowledgment of valid data via 
                HostAck going high.<BR><B>7. Device/Peripheral sets PeriphClk 
                high. +ve edge used to shift data into the Host.</B><BR>8. Host 
                sends it's acknowledgment of the byte by de-asserting HostAck 
                low. </UL></TD></TR></TBODY></TABLE></CENTER><BR><A name=7><I><FONT 
        size=+2>ECP Reverse Command Cycle</FONT></I></A> 
        <HR>
        <BR>
        <CENTER>
        <TABLE border=0>
          <TBODY>
          <TR>
            <TD><IMG alt="Enhanced Capabilities Port Reverse Command Cycle" 
              src="Interfacing the Extended Capabilities Port.files/ecprcomm.gif" 
              border=0> <BR>
              <CENTER><FONT size=-1>Figure 4. Enhanced Capabilities Port Reverse 
              Command Cycle.</FONT></CENTER></TD>
            <TD><B>1. Host sets nReverseRequest Low to request a reverse 
              channel.</B><BR>2. Peripheral acknowledges reverse channel request 
              via asserting nAckReverse low.<BR><B>3. Data is placed on data 
              lines by Peripheral.</B><BR>4. Command cycle is then selected by 
              Peripheral via PeriphAck going low.<BR><B>5. Valid data is 
              indicated by the Peripheral setting PeriphClk low.</B><BR>6. Host 
              sends its acknowledgment of valid data via HostAck going 
              high.<BR><B>7. Device/Peripheral sets PeriphClk high. +ve edge 
              used to shift data into the Host.</B><BR>8. Host sends it's 
              acknowledgment of the byte by de-asserting HostAck low. 
          </TD></TR></TBODY></TABLE></CENTER><BR><A name=13><I><FONT size=+2>ECP 
        Handshake vs SPP Handshake</FONT></I></A> 
        <HR>

        <P>If we look back at the SPP Handshake you will realize it only has 5 
        steps, <BR><BR>
        <UL><I>1. Write the byte to the Data Port.</I> <BR><I>2. Check to see 
          is the printer is busy. If the printer is busy, it will not accept any 
          data, thus any data which is written will be lost.</I> <BR><I>3. Take 
          the Strobe (Pin 1) low. This tells the printer that there is the 
          correct data on the data lines. (Pins 2-9)</I> <BR><I>4. Put the 
          strobe high again after waiting approximately 5 microseconds after 
          putting the strobe low. (Step 3)</I> <BR><I>5. Check for Ack from 
          Peripheral.</I> </UL>
        <P></P>
        <P>and that the ECP handshake has many more steps. This would suggest 
        that ECP would be slower that SPP. However this is not the case as all 
        of these steps above are controlled by the hardware on your I/O control. 
        If this handshake was implemented via software control then it would be 
        a lot slower that it's SPP counterpart. </P></UL><A name=8><I><FONT 
      size=+2>RLE - Run Length Encoding</FONT></I></A> 
      <HR>

      <UL>
        <P>As briefly discussed earlier, the ECP Protocol includes a Simple 
        Compression Scheme called Run Length Encoding. It can support a maximum 
        compression ratio of 64:1 and works by sending repetitive single bytes 
        as a run count and one copy of the byte. The run count determines how 
        many times the following byte is to be repeated. </P>
        <P>For example, if a string of 25 'A's were to be sent, then a run count 
        byte equal to 24 would be sent first, followed by the byte 'A'. The 
        receiving peripheral on receipt of the Run Length Count, would expand 
        (Repeat) the next byte a number of times determined via the run count. 
        </P>
        <P>The Run Length Byte has to be distinguished from other bytes in the 
        Data Path. It is sent as a Command to the ECP's Address FIFO Port. Bytes 
        sent to this register can be of two things, a Run Length Count or an 
        Address. These are distinguished by the MSB, Bit 7. If Bit 7 is Set (1), 
        then the other 7 bits, bits 0 to 6 is a channel address. If Bit 7 is 
        Reset (0), then the lower 7 bits is a run length count. By using the 
        MSB, this limits channel Addresses and Run Length Counts to 7 Bits (0 - 
        127). </P></UL><A name=9><I><FONT size=+2>ECP Software 
      Registers</FONT></I></A> 
      <HR>

      <UL>
        <P>The table below shows the registers of the Extended Capabilities 
        Port. The first 3 registers are exactly the same than with the Standard 
        Parallel Port registers. Note should be taken, however, of the Enable 
        Bi-Directional Port bit (bit 5 of the Control Port.) This bit reflects 
        the direction that the ECP port is currently in, and will effect the 
        FIFO燜ull and FIFO燛mpty bits of the ECR Register, which will be explained 
        later. </P>
        <P>
        <CENTER>
        <TABLE width="70%" border=1>
          <TBODY>
          <TR>
            <TD>
              <CENTER><B>Address</B></CENTER></TD>
            <TD>
              <CENTER><B>Port Name</B></CENTER></TD>
            <TD>
              <CENTER><B>Read/Write</B></CENTER></TD></TR>
          <TR>
            <TD vAlign=top rowSpan=2>
              <CENTER>Base + 0</CENTER></TD>
            <TD>
              <CENTER>Data Port (SPP)</CENTER></TD>
            <TD>
              <CENTER>Write</CENTER></TD></TR>
          <TR>
            <TD>
              <CENTER>ECP Address FIFO (ECP MODE)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR>
          <TR>
            <TD>
              <CENTER>Base + 1</CENTER></TD>
            <TD>
              <CENTER>Status Port (All Modes)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR>
          <TR>
            <TD>
              <CENTER>Base + 2</CENTER></TD>
            <TD>
              <CENTER>Control Port (All Modes)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR>
          <TR>
            <TD vAlign=top rowSpan=4>
              <CENTER>Base + 400h</CENTER></TD>
            <TD>
              <CENTER>Data FIFO (Parallel Port FIFO Mode)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR>
          <TR>
            <TD>
              <CENTER>Data FIFO (ECP Mode)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR>
          <TR>
            <TD>
              <CENTER>Test FIFO (Test Mode)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR>
          <TR>
            <TD>
              <CENTER>Configuration Register A (Configuration Mode)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR>
          <TR>
            <TD>
              <CENTER>Base + 401h</CENTER></TD>
            <TD>
              <CENTER>Configuration Register B (Configuration Mode)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR>
          <TR>
            <TD>
              <CENTER>Base + 402h</CENTER></TD>
            <TD>
              <CENTER>Extended Control Register (Used by all modes)</CENTER></TD>
            <TD>
              <CENTER>Read/Write</CENTER></TD></TR></TBODY></TABLE><FONT size=-1>Table 
        2 : ECP Registers</FONT></CENTER>
        <P></P><A name=10><I><FONT size=+2>ECP's Extended Control Register 
        (ECR)</FONT></I></A> 
        <HR>

        <UL>
          <P>The most important register with a Extended Capabilities Parallel 
          Port is the Extended Control Register (ECR) thus we will target it's 
          operation first. This register sets up the mode in which the ECP will 
          run, plus gives status of the ECP's FIFO among other things. You will 
          find the contents of this register below, in more detail. </P>
          <P>
          <CENTER>
          <TABLE width="65%" border=1>
            <TBODY>
            <TR>
              <TD width="10%">
                <CENTER><B>Bit</B></CENTER></TD>
              <TD colSpan=2>
                <CENTER><B>Function</B></CENTER></TD></TR>
            <TR>
              <TD vAlign=top rowSpan=9>
                <CENTER>7:5</CENTER></TD>
              <TD colSpan=2><I>Selects Current Mode of Operation</I></TD></TR>
            <TR>
              <TD width="10%">
                <CENTER>000</CENTER></TD>
              <TD>Standard Mode</TD></TR>
            <TR>
              <TD>
                <CENTER>001</CENTER></TD>
              <TD>Byte Mode</TD></TR>
            <TR>
              <TD>
                <CENTER>010</CENTER></TD>
              <TD>Parallel Port FIFO Mode</TD></TR>
            <TR>
              <TD>
                <CENTER>011</CENTER></TD>
              <TD>ECP FIFO Mode</TD></TR>
            <TR>
              <TD>
                <CENTER>100</CENTER></TD>
              <TD>EPP Mode</TD></TR>
            <TR>
              <TD>
                <CENTER>101</CENTER></TD>
              <TD>Reserved</TD></TR>
            <TR>
              <TD>
                <CENTER>110</CENTER></TD>
              <TD>FIFO Test Mode</TD></TR>
            <TR>
              <TD>
                <CENTER>111</CENTER></TD>
              <TD>Configuration Mode</TD></TR>
            <TR>
              <TD>
                <CENTER>4</CENTER></TD>
              <TD colSpan=2>ECP Interrupt Bit</TD></TR>
            <TR>
              <TD>
                <CENTER>3</CENTER></TD>
              <TD colSpan=2>DMA Enable Bit</TD></TR>
            <TR>
              <TD>
                <CENTER>2</CENTER></TD>
              <TD colSpan=2>ECP Service Bit</TD></TR>
            <TR>
              <TD>
                <CENTER>1</CENTER></TD>
              <TD colSpan=2>FIFO Full</TD></TR>
            <TR>
              <TD>
                <CENTER>0</CENTER></TD>
              <TD colSpan=2>FIFO Empty</TD></TR></TBODY></TABLE><FONT size=-1>Table 
          3 ECR - Extended Control Register</FONT></CENTER>
          <P></P>
          <P>The three MSB of the Extended Control Register selects the mode of 
          operation. There are 7 possible modes of operation, but not all ports 
          will support all modes. The EPP爉ode is one such example, not being 
          available on some ports. Below is a table of Modes of Operation. </P>
          <P>
          <CENTER>
          <TABLE width="90%">
            <TBODY>
            <TR>
              <TD width="25%" colSpan=2>
                <CENTER>
                <HR>
                <B>Modes of Operation</B>
                <HR>
                </CENTER></TD></TR>
            <TR>
              <TD vAlign=top>Standard Mode</TD>
              <TD>Selecting this mode will cause the ECP port to behave as a 
                Standard Parallel Port, without Bi-directional 
            functionality.</TD></TR>
            <TR>
              <TD vAlign=top>Byte Mode / PS/2 Mode</TD>
              <TD>Behaves as a SPP in Bi-directional (Reverse) mode.</TD></TR>
            <TR>
              <TD vAlign=top>Parallel Port FIFO Mode</TD>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产日韩精品一区二区三区| 午夜欧美一区二区三区在线播放| 亚洲精品欧美综合四区| 首页综合国产亚洲丝袜| 国产成人啪免费观看软件| 欧美日韩一区不卡| 自拍av一区二区三区| 精一区二区三区| 欧美午夜精品久久久久久孕妇| 国产偷国产偷精品高清尤物| 午夜精品福利一区二区三区蜜桃| eeuss鲁片一区二区三区| 日韩精品资源二区在线| 一区二区日韩电影| 成人网男人的天堂| 久久你懂得1024| 国产一区欧美日韩| 欧美一区二区三区在线电影| 亚洲午夜一二三区视频| 91蝌蚪porny成人天涯| 欧美国产精品一区二区| 国产精品99久久久久久宅男| 日韩精品专区在线影院观看| 视频一区视频二区中文字幕| 一本色道久久综合亚洲91| 国产精品久久久久久久久免费樱桃| 国产综合成人久久大片91| 日韩一区二区三区av| 日韩**一区毛片| 日韩午夜小视频| 蜜桃视频免费观看一区| 日韩视频一区在线观看| 欧美bbbbb| 精品国产成人在线影院| 狠狠色综合日日| 久久亚区不卡日本| 国产精品资源在线| 国产精品理论片| 99re热视频这里只精品| 亚洲欧美日韩国产一区二区三区 | 色播五月激情综合网| 国产精品电影一区二区三区| 972aa.com艺术欧美| 亚洲美女少妇撒尿| 日本精品一级二级| 午夜视频久久久久久| 91精品国产欧美一区二区成人| 日韩国产在线观看一区| 1000部国产精品成人观看| 99国产精品一区| 婷婷综合五月天| 欧美r级电影在线观看| 国产精品中文字幕一区二区三区| 欧美激情一区二区| 在线一区二区三区| 美国十次了思思久久精品导航| 日韩欧美在线不卡| 国产成人免费在线观看| 亚洲精品乱码久久久久久黑人| 欧美日韩一区二区三区在线| 免费成人小视频| 欧美高清在线精品一区| 欧洲精品视频在线观看| 看电视剧不卡顿的网站| 亚洲国产精品精华液ab| 色成人在线视频| 激情六月婷婷久久| 亚洲激情五月婷婷| 精品久久久久久综合日本欧美 | 国产日韩成人精品| 欧美亚洲动漫另类| 国产福利一区在线观看| 亚洲午夜羞羞片| 国产三级欧美三级日产三级99| 色综合天天综合| 精品一区二区精品| 亚洲午夜免费福利视频| 久久精品一区二区三区av | 丁香婷婷综合激情五月色| 亚洲精品国产高清久久伦理二区| 日韩欧美国产一区在线观看| 91天堂素人约啪| 国产真实乱偷精品视频免| 一区二区三区国产精华| 26uuu久久天堂性欧美| 91黄视频在线| 成人深夜在线观看| 美女国产一区二区| 亚洲一区二区综合| 国产精品婷婷午夜在线观看| 日韩一级大片在线观看| 色嗨嗨av一区二区三区| 国产ts人妖一区二区| 日本成人在线看| 亚洲午夜国产一区99re久久| 国产精品久久久久久久久免费丝袜| 日韩欧美国产午夜精品| 欧美亚洲日本国产| 91精品福利视频| 91一区在线观看| 国产91丝袜在线观看| 久久超碰97人人做人人爱| 婷婷开心久久网| 亚洲一线二线三线久久久| 亚洲欧洲精品一区二区三区| 久久亚洲影视婷婷| 精品三级在线看| 91精品国产手机| 精品视频一区二区不卡| 色狠狠一区二区| 日本电影亚洲天堂一区| 91免费精品国自产拍在线不卡| 国产69精品一区二区亚洲孕妇| 激情深爱一区二区| 国内偷窥港台综合视频在线播放| 热久久免费视频| 奇米精品一区二区三区四区 | 中文字幕亚洲在| 国产精品久久久久9999吃药| 久久久久亚洲综合| 久久久不卡影院| 亚洲国产精品黑人久久久| 国产精品久久精品日日| 国产精品国产自产拍高清av王其| 中文幕一区二区三区久久蜜桃| 欧美激情综合网| 亚洲欧美激情视频在线观看一区二区三区| 国产精品国产三级国产普通话99 | 亚洲一二三区在线观看| 高清不卡在线观看| 成人免费视频一区二区| 99re66热这里只有精品3直播 | av一本久道久久综合久久鬼色| 成人丝袜高跟foot| 色综合久久久久久久久| 欧美主播一区二区三区美女| 91精品国产入口| 久久新电视剧免费观看| 国产精品理伦片| 亚洲成人一区在线| 激情五月播播久久久精品| 成人免费视频视频在线观看免费| aaa亚洲精品一二三区| 91高清在线观看| 日韩精品一区二区三区swag | 久久久久久久网| 亚洲色图.com| 理论片日本一区| 成人av在线资源网| 欧美高清性hdvideosex| 久久综合精品国产一区二区三区| 中文字幕av免费专区久久| 亚洲成人资源在线| 国产91丝袜在线播放九色| 在线视频一区二区三| 精品国产91亚洲一区二区三区婷婷| 日本一区二区三区在线观看| 亚洲综合男人的天堂| 久草精品在线观看| 一本高清dvd不卡在线观看| 日韩午夜在线观看| 亚洲美女偷拍久久| 国产精品1区2区3区在线观看| 欧美丝袜丝交足nylons| 久久综合给合久久狠狠狠97色69| 一区二区三区在线高清| 久久99国产精品尤物| 欧美亚洲国产一卡| 国产日韩精品久久久| 免费成人美女在线观看.| 99在线精品一区二区三区| 精品国产sm最大网站免费看| 亚洲国产视频一区二区| 99精品视频一区| 2023国产精华国产精品| 日韩在线观看一区二区| 91国在线观看| 亚洲欧美中日韩| 欧美日韩一区二区三区四区五区| 国产精品久久久久aaaa樱花| 国内不卡的二区三区中文字幕| 欧美嫩在线观看| 午夜欧美电影在线观看| 色8久久人人97超碰香蕉987| 国产精品国模大尺度视频| 国产精品一区二区久久精品爱涩 | 国产精品久久久久永久免费观看| 日本美女视频一区二区| 欧美色男人天堂| 亚洲精品乱码久久久久| 成人一区二区三区视频在线观看| 久久久国际精品| 国产在线精品免费| 精品国产一区二区三区久久久蜜月 | 免费观看日韩电影| 91精品国产91久久久久久最新毛片| 亚洲国产成人porn| 欧美日韩国产综合视频在线观看 | 亚洲日本va在线观看| 成人av免费网站|