172
Rabbit 3000 Microprocessor
Table 12-13. Status Register HDLC Mode (Ports E and F only)
Serial Port x Status Register
(SESR)
(Address = 0xCB)
(SFSR)
(Address = 0xD3)
Bit(s)
Value
Description (HDLC mode only)
7
0
The receive data register is empty
1
There is a byte in the receive buffer. The serial port will request an interrupt
while this bit is set. The interrupt is cleared when the receive buffer is empty.
6,4
00
The byte in the receive buffer is data.
01
The byte in the receive buffer was followed by an Abort.
10
The byte in the receive buffer is the last in the frame, with valid CRC.
11
The byte in the receive buffer is the last in the frame, with a CRC error.
5
0
The receive buffer was not overrun.
1
The receive buffer was overrun. This bit is cleared by reading the receive buffer.
3
0
The transmit buffer is empty.
1
The transmit buffer is not empty. The serial port will request an interrupt when
the transmitter takes a byte from the transmit buffer, unless the byte is marked as
the last in the frame. Transmit interrupts are cleared when the transmit buffer is
written, or any value (which will be ignored) is written to this register.
2:1
00
Transmit interrupt due to buffer empty condition.
01
Transmitter finished sending CRC. An interrupt is generated at the end of CRC
transmission. Data written in response to this interrupt will cause only one Flag
to be transmitted between frames, and no interrupt will be generated by this Flag.
10
Transmitter finished sending an Abort. An interrupt is generated at the end of an
Abort transmission.
11
The transmitter finished sending a closing Flag. Data written in response to this
interrupt will cause at least two Flags to be transmitted between frames.
0
0
The byte in the receiver buffer is 8 bits.
1
The byte in the receiver buffer is less than 8 bits.
Содержание Rabbit 2000
Страница 2: ...Rabbit 3000 Microprocessor User s Manual 019 0108 040731 O ...
Страница 9: ...Rabbit 3000 Microprocessor ...
Страница 29: ...20 Rabbit 3000 Microprocessor ...
Страница 64: ...User s Manual 55 5 PIN ASSIGNMENTS AND FUNCTIONS ...
Страница 79: ...70 Rabbit 3000 Microprocessor ...
Страница 80: ...User s Manual 71 6 RABBIT INTERNAL I O REGISTERS ...
Страница 123: ...114 Rabbit 3000 Microprocessor ...
Страница 137: ...128 Rabbit 3000 Microprocessor ...
Страница 157: ...148 Rabbit 3000 Microprocessor ...
Страница 207: ...198 Rabbit 3000 Microprocessor ...
Страница 249: ...240 Rabbit 3000 Microprocessor ...
Страница 255: ...246 Rabbit 3000 Microprocessor ...
Страница 277: ...268 Rabbit 3000 Microprocessor ...
Страница 343: ...334 Rabbit 3000 Microprocessor ...
Страница 345: ......