Samsung S3C2500B User Manual page 397

Table of Contents

Advertisement

S3C2500B
Bit
Bit Name
Number
[3:0]
Rx remaining bytes
(RxRB)
[4]
Tx frame complete
(TxFC)
[5]
Tx FIFO available
(TxFA)
[6]
Tx clear-to-send
(TxCTS)
[7]
Tx stored clear-to-send
(TxSCTS)
[8]
Tx under-run (TxU)
[9]
Rx FIFO available
(RxFA)
[10]
Tx Frame Good (TxFG)
Table 8-12. HSTAT Register Description
(RxRB + 1) indicates how many data bytes are valid in a 1-word or 4-
word boundary when the receiver has received a complete frame. In 1-
word transfer mode, the RxRB value is either 0, 1, 2, or 3. In 4-word
mode, it is 0, 1, ..., 14, or 15.
This status bit is automatically set to '1' when the two conditions are met:
1) there is no data in the Tx FIFO, and 2) either an abort or a closing flag
is transmitted. You can clear this bit by writing '1' to this bit.
If this bit is '1', the data to be sent can be loaded into the HTxFIFO
register. In 1-word transfer mode, the TxFA status bit is set to '1' when
the first register of the HTxFIFO is empty.
In 4-word transfer mode, TxFA = '1' when the first four 32-bit registers of
the HTxFIFO are empty. The TxFA status condition is automatically
cleared when HTxFIFO is no longer available. During DMA Tx operation,
this bit is always '0', so not generating interrupt.
The nCTS input is projected to this status bit. If the level at the nCTS
input pin is Low, this status bit is'1'. If nCTS input pin is High level,
TxCTS is '0'.
This bit does not generate an interrupt.
This bit is set to '1' each time a transition in nCTS input occurs. You can
clear this bit by writing '1' to this bit.
When the transmitter runs out of data during a frame transmission, an
underrun occurs and the frame is automatically terminated by
transmitting an abort sequence. The underrun condition is indicated when
TxU is '1'. You can clear this bit by writing a '1' to this bit.
This status bit indicates when the data received can be read from the Rx
FIFO. When RxFA is '1', it indicates that data (other than an address or a
final data word) is available in the HRXFIFO. In 1-word transfer mode,
RxFA bit set to '1' when received data is available in the last FIFO
register. In 4-word transfer mode, it is set to '1' when the data received is
available in the last four 32-bit FIFO registers. Even if the data reside in
FIFO for only two words, when the Last bit is set, Rx FIFO is regarded as
valid. (The received data available condition is cleared automatically
when the data received is no longer available.) During DMA Rx
operation, this bit is always '0', so does not generate an interrupt.
This bit set to one when one frame sent well.
Description
HDLC CONTROLLER
8-37

Advertisement

Table of Contents
loading

Table of Contents