📄 chapter8.htm
字号:
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
</tr>
<tr>
<td width="22%" align="center" bgcolor="#004040"><big><big>IR<sub>2</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>7</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>6</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>5</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>4</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>3</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>0</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>0</big></big></td>
</tr>
<tr>
<td width="22%" align="center" bgcolor="#004040"><big><big>IR<sub>3</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>7</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>6</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>5</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>4</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>3</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>0</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
</tr>
<tr>
<td width="22%" align="center" bgcolor="#004040"><big><big>IR<sub>4</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>7</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>6</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>5</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>4</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>3</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>0</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>0</big></big></td>
</tr>
<tr>
<td width="22%" align="center" bgcolor="#004040"><big><big>IR<sub>5</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>7</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>6</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>5</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>4</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>3</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>0</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
</tr>
<tr>
<td width="22%" align="center" bgcolor="#004040"><big><big>IR<sub>6</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>7</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>6</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>5</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>4</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>3</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>0</big></big></td>
</tr>
<tr>
<td width="22%" align="center" bgcolor="#004040"><big><big>IR<sub>7</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>7</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>6</sub></big></big></td>
<td width="9%" align="center" bgcolor="#004040"><big><big>T<sub>5</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>4</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>T<sub>3</sub></big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
<td width="10%" align="center" bgcolor="#004040"><big><big>1</big></big></td>
</tr>
</table>
</center></div>
<blockquote>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">3)标志主片/从片的初始化命令字ICW<sub>3</sub></font></p>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">
只有包含多片8259A的系统中,ICW<sub>3</sub>才有意义。当ICW<sub>1</sub>的SNGL=0,才设置ICW<sub>3</sub>。</font></p>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">A<sub>0</sub>=1,写入奇地址端口。</font></p>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">如下为主片8259A的ICW<sub>3</sub>格式:</font></p>
</blockquote>
<p align="center"><img src="icw31.gif" alt="icw3.gif (2432 bytes)" width="573"
height="121"></p>
<blockquote>
<p align="left"><big><big> 对应于IR<sub>7</sub></big></big><font
face="宋体" size="5" color="#FFFFFF">~IR<sub>0</sub>,若某一个引脚上连接有从片8259A,则对应的D<sub>7</sub>~D<sub>0</sub>位为1,若没有连接从片,则为0。</font></p>
<p align="left"> </p>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">如下为从片8259A的ICW<sub>3</sub>格式:</font></p>
</blockquote>
<p align="center"><img src="icw32.gif" width="573" height="121"
alt="icw32.gif (2319 bytes)"></p>
<blockquote>
<p align="left"><font face="宋体" size="5" color="#FFFFFF"> 若本片8259A为从片,则D<sub>7</sub>~D<sub>3</sub>为0,D<sub>2</sub>~D<sub>0</sub>的编码决定从片的INT引脚连接到了主片的哪一个IR引脚上。</font></p>
</blockquote>
<div align="center"><center>
<table border="1" width="73%" height="167">
<tr>
<td width="11%" rowspan="2" align="center" height="53" bgcolor="#008080"><big><big>编码</big></big></td>
<td width="89%" colspan="8" align="center" height="17" bgcolor="#008080"><big><big>INT连接的IR</big></big></td>
</tr>
<tr>
<td width="11%" align="center" height="30" bgcolor="#008080"><big><big>IR<sub>0</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#008080"><big><big>IR<sub>1</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#008080"><big><big>IR<sub>2</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#008080"><big><big>IR<sub>3</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#008080"><big><big>IR<sub>4</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#008080"><big><big>IR<sub>5</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#008080"><big><big>IR<sub>6</sub></big></big></td>
<td width="12%" align="center" height="30" bgcolor="#008080"><big><big>IR<sub>7</sub></big></big></td>
</tr>
<tr>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>ID<sub>2</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="12%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
</tr>
<tr>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>ID<sub>1</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="12%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
</tr>
<tr>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>ID<sub>0</sub></big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
<td width="11%" align="center" height="30" bgcolor="#004000"><big><big>0</big></big></td>
<td width="12%" align="center" height="30" bgcolor="#004000"><big><big>1</big></big></td>
</tr>
</table>
</center></div>
<blockquote>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">4)方式控制初始化命令字ICW<sub>4</sub></font></p>
</blockquote>
<p align="center"><img src="icw4.gif" width="573" height="121" alt="icw4.gif (2568 bytes)"></p>
<p align="left"> </p>
<blockquote>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">A<sub>0</sub>=1,写入奇地址端口。</font></p>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">若ICW<sub>1</sub>的D<sub>0</sub>=1,则需要设置ICW<sub>4</sub>。</font></p>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">D<sub>7</sub>~D<sub>5</sub>:总为0。</font></p>
<p align="left"><font face="宋体" size="5" color="#FFFFFF">D<sub>4</sub>(SFNM):若为1,则为特殊的全嵌
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -