Model 100 Serial Interface: Difference between revisions
From Bitchin100 DocGarden
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
=== IM6402 UART Theory of Operation === | |||
<table align="center"; border="1" style="border-width: thin; border-style: solid; border-color: blue; border-collapse: collapse;"> | |||
<tr> | |||
<td>Name</td> <td>Description</td> | |||
</tr> | |||
<tr> | |||
<td>TR</td> <td>Transmitter register</td> | |||
</tr> | |||
<tr> | |||
<td>TBR</td> <td>Transmitter buffer register</td> | |||
</tr> | |||
<tr> | |||
<td>TRC</td> <td>Transmitter register clock</td> | |||
</tr> | |||
<tr> | |||
<td>RRC</td> <td>Receiver register clock</td> | |||
</tr> | |||
<tr> | |||
<td>RRI</td> <td>Receiver register input</td> | |||
</tr> | |||
<tr> | |||
<td>TRO</td> <td>Transmitter register output</td> | |||
</tr> | |||
</table> | |||
== I/O Map == | == I/O Map == | ||
Line 9: | Line 36: | ||
<tr><td>DSR</td> <td>Input</td> <td>$BB, bit 5</td></tr> | <tr><td>DSR</td> <td>Input</td> <td>$BB, bit 5</td></tr> | ||
<tr><td>DTR</td> <td>Output</td> <td>$BA, bit 6</td></tr> | <tr><td>DTR</td> <td>Output</td> <td>$BA, bit 6</td></tr> | ||
</table> | |||
Direction indicates both data flow, and whether to use an <code>IN</code> or <code>OUT</code> instruction to read/write to the given pin. | Direction indicates both data flow, and whether to use an <code>IN</code> or <code>OUT</code> instruction to read/write to the given pin. |
Revision as of 12:38, 1 February 2009
IM6402 UART Theory of Operation
Name | Description |
TR | Transmitter register |
TBR | Transmitter buffer register |
TRC | Transmitter register clock |
RRC | Receiver register clock |
RRI | Receiver register input |
TRO | Transmitter register output |
I/O Map
Name | Direction | Port |
TX | Output | $C8 |
RX | Input | $C8 |
RTS | Output | $BA, bit 7 |
CTS | Input | $BB, bit 4 |
DSR | Input | $BB, bit 5 |
DTR | Output | $BA, bit 6 |
Direction indicates both data flow, and whether to use an IN
or OUT
instruction to read/write to the given pin.