Zilog Z80230 Bedienungsanleitung Seite 130

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 394
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 129
SCC/ESCC
User Manual
UM010903-0515 Data Communication Modes
123
Residue Codes
As indicated in the table, these bits allow the processor to determine those bits in the information
(and not CRC) field. This allows transparent retransmission of the received frame. The Residue
Code bits do not go through a FIFO, so they change in RR1 when the last character of the frame is
loaded into the receive data FIFO. If there are any characters already in the receive data FIFO the
Residue Code is updated before they are read by the processor.
As an example of how the codes are interpreted, consider the case of eight bits per character and a
residue code of 101. The number of valid bits for the previous, second previous, and third previous
bytes are 0, 7, and 8, respectively. This indicates that the information field (Ifield) boundary falls
on the second previous byte as displayed in Figure .
Residue Code 101 Interpretation
A frame is terminated by the detection of a closing flag. Upon detection of the flag the following
actions take place: the contents of the Receive Shift Register are transferred to the receive data
FIFO; the Residue Code is latched, the CRC Error bit is latched; the End of Frame upon reaching
Residue
Code Bits in Previous Byte
Bits in Second Previous
Byte
Bits in Third Previous
Byte
2 1 0 8B/C 7B/C 6B/C 5B/C 8B/C 7B/C 6B/C 5B/C 8B/C 7B/C 6B/C 5B/C
100 0 0 0 0 3 1 0 0 8 7 5 2
010 0 0 0 0 4 2 0 0 8 7 6 3
110 0 0 0 0 5 3 1 0 8 7 6 4
001 0 0 0 0 6 4 2 0 8 7 6 5
101 0 0 0 0 7 5 3 1 8 7 6 5
011 0 0 0 8 6 4 8 7 6
111 1 0 8 7 8 7
000 2 8 8
Third Previous
Byte
7-Bits
Second Previous
Byte
Previous
Byte
I - Field
CRC Field
Seitenansicht 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 393 394

Kommentare zu diesen Handbüchern

Keine Kommentare