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

📄 nibble mode.htm

📁 并口的接口规范
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0030)http://www.fapo.com/nibble.htm -->
<HTML><HEAD><TITLE>Warp Nine Engineering - The IEEE 1284 Experts - IEEE 1284 Nibble Mode</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META 
content="The Nibble mode is the most common way to get reverse channel data from a printer or peripheral. This mode is usually combined with the Compatibility mode or a proprietary forward channel mode to create a complete bi-directional channel." 
name=description>
<META content="Warp Nine Engineering's IEEE 1284 Nibble Mode Page" 
name=abstract>
<META 
content="nibble mode, compatibility, IEEE 1284, reverse channel, bi-directional" 
name=keywords>
<STYLE type=text/css></STYLE>

<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 
onload="if (self != top) top.location = self.document.location" marginheight="0" 
marginwidth="0">
<DIV style="WIDTH: 1284px; HEIGHT: 235px" align=left><!-- #BeginLibraryItem "/Library/Top Nav w logo.lbi" -->
<TABLE height=1 cellSpacing=0 cellPadding=0 width=597 border=0>
  <TBODY>
  <TR vAlign=center align=right>
    <TD bgColor=#000000 height=9>
      <DIV align=left><IMG height=52 src="Nibble Mode.files/toplogo3.gif" 
      width=1280 border=0><BR><IMG height=15 src="Nibble Mode.files/spacer.gif" 
      width=14 border=0><A href="http://www.fapo.com/index.html"><IMG height=24 
      src="Nibble Mode.files/home.gif" width=24 border=0></A><IMG height=15 
      src="Nibble Mode.files/spacer.gif" width=14 border=0><IMG height=15 
      src="Nibble Mode.files/spacer.gif" width=31> <IMG height=24 
      src="Nibble Mode.files/button.gif" width=444 useMap=#buttons border=0> 
      </DIV></TD></TR></TBODY></TABLE><MAP name=buttons><AREA shape=RECT 
  coords=339,-1,393,22 href="http://www.fapo.com/search.htm"><AREA shape=RECT 
  coords=275,1,337,22 href="http://www.fapo.com/support.htm"><AREA shape=RECT 
  coords=203,1,273,24 href="http://www.fapo.com/fpcmail.htm"><AREA shape=RECT 
  coords=136,0,203,23 href="http://www.fapo.com/ieee1284.htm"><AREA shape=RECT 
  coords=69,0,131,23 href="http://www.fapo.com/fpcorder.htm"><AREA shape=RECT 
  coords=0,0,65,23 href="http://www.fapo.com/product.htm"></MAP><!-- #EndLibraryItem -->
<TABLE height=256 cellSpacing=0 cellPadding=0 width=595 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=left width=56 bgColor=#ffffff height=1041>
      <P><IMG height=77 src="Nibble Mode.files/spacer2.gif" width=55></P>
      <P>&nbsp;</P></TD>
    <TD vAlign=top align=left width=1 bgColor=#ff0000 height=1041>&nbsp; </TD>
    <TD vAlign=top align=left width=9 height=1041><IMG height=15 
      src="Nibble Mode.files/spacer.gif" width=9> </TD>
    <TD vAlign=top align=left width=530 height=1041>
      <DIV align=center>
      <CENTER>
      <P>&nbsp;</P>
      <DIV align=left><FONT face="Arial, Helvetica, sans-serif" color=#000000 
      size=2><B>Nibble Mode</B></FONT> </DIV>
      <P align=left><FONT face="Arial, Helvetica, sans-serif" color=#000000 
      size=1>The Nibble mode is the most common way to get reverse channel data 
      from a printer or peripheral. This mode is usually combined with the 
      Compatibility mode or a proprietary forward channel mode to create a 
      complete bi-directional channel. </FONT></P>
      <P align=left><FONT face="Arial, Helvetica, sans-serif" color=#000000 
      size=1>All of the standard parallel ports provide 5 lines from the 
      peripheral to the PC to be used for external status indications. Using 
      these lines, a peripheral can send a byte of data (8-bits) by sending 2 
      nibbles (4-bits) of information to the PC in two data transfer cycles. 
      Unfortunately, since the nACK line is generally used to provide a 
      peripheral interrupt, the bits used to transfer a nibble are not 
      conveniently packed into the byte defined by the Status register. For this 
      reason, the software must read the status byte and then manipulate the 
      bits in order to get a correct byte. </FONT></P>
      <P align=left><FONT face="Arial, Helvetica, sans-serif" color=#000000 
      size=1>Table 1 identifies the signal names for the Nibble mode. Figure 1 
      shows the basic data handshake for a nibble mode transfer from the 
      peripheral to the host. </FONT></P>
      <H4 align=center><FONT face="Arial, Helvetica, sans-serif" color=#000000 
      size=1>Table 1 -- Nibble Mode Signals</FONT></H4>
      <TABLE border=1>
        <TBODY>
        <TR>
          <TH><FONT face=Arial color=#000000 size=2>SPP Signal</FONT></TH>
          <TH align=middle><FONT face=Arial color=#000000 size=2>Nibble Mode 
            Name</FONT></TH>
          <TH align=middle><FONT face=Arial color=#000000 
          size=2>In/Out</FONT></TH>
          <TH><FONT face=Arial color=#000000 size=2>Description -- Signal 
            usage when in Nibble Mode data transfer</FONT></TH></TR>
        <TR>
          <TD><FONT face=Arial color=#000000 size=1>nSTROBE</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 
          size=1>nSTROBE</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 size=1>Out</FONT></TD>
          <TD><FONT face=Arial color=#000000 size=1>Not used for reverse data 
            transfer</FONT></TD></TR>
        <TR>
          <TD><FONT face=Arial color=#000000 size=1>nAUTOFEED</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 
            size=1>HostBusy</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 size=1>Out</FONT></TD>
          <TD><FONT face=Arial color=#000000 size=1>Host nibble mode handshake 
            signal. Set low to indicate host is ready for nibble. Set high to 
            indicate nibble has been received.</FONT></TD></TR>
        <TR>
          <TD><FONT face=Arial color=#000000 size=1>nSELECTIN</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 
            size=1>1284Active</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 size=1>Out</FONT></TD>
          <TD><FONT face=Arial color=#000000 size=1>Set high when host is in a 
            1284 transfer mode.</FONT></TD></TR>
        <TR>
          <TD><FONT face=Arial color=#000000 size=1>nINIT</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 
          size=1>nINIT</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 size=1>Out</FONT></TD>
          <TD><FONT face=Arial color=#000000 size=1>Not used for reverse data 
            transfer</FONT></TD></TR>
        <TR>
          <TD><FONT face=Arial color=#000000 size=1>nACK</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 
          size=1>PtrClk</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 size=1>In</FONT></TD>
          <TD><FONT face=Arial color=#000000 size=1>Set low to indicate valid 
            nibble data, set high in response to HostBusy going 
        high.</FONT></TD></TR>
        <TR>
          <TD><FONT face=Arial color=#000000 size=1>BUSY</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 
          size=1>PtrBusy</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 size=1>In</FONT></TD>
          <TD><FONT face=Arial color=#000000 size=1>Used for Data bit 3, then 
            7</FONT></TD></TR>
        <TR>
          <TD><FONT face=Arial color=#000000 size=1>PE</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 
            size=1>AckDataReq</FONT></TD>
          <TD align=middle><FONT face=Arial color=#000000 size=1>In</FONT></TD>

⌨️ 快捷键说明

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