SCC Programming Reference
E-24
MC68360 USER’S MANUAL
MOTOROLA
E.2.1.3.1 RFCR/TFCR—Rx Function Code/Tx Function Code.
This 16-bit parameter
contains the function codes of the receive data buffers and transmit data buffers. The user
must initialize the function codes (FC2-FC0) to a value less than 7.
E.2.1.3.2 MRBLR—Maximum Rx Buffer Length.
This 16-bit parameter defines the maxi-
mum receiver buffer length for each of the eight receive buffer descriptors.
E.2.1.3.3 MAX_IDL—Maximum IDLE Characters.
This 16 bit parameter contains the
maximum number of IDLE characters that the SCC will wait before closing a receive buffer.
E.2.1.3.4 BRKCR—Break Count Register.
This 16-bit parameter defines the number of
break characters to be transmitted when the STOP TRANSMIT command is executed.
E.2.1.3.5 PAREC—Receive Parity Error Counter.
This 16-bit parameter is incremented
when a character is received with a parity error.
E.2.1.3.6 FRMEC—Receive Framing Error Counter.
This 16 bit parameter is incre-
mented when no stop bit is detected in a received data string.
E.2.1.3.7 NOSEC—Receive Noise Counter.
This 16-bit parameter is incremented when
the three samples taken in the middle of a bit are not identical.
E.2.1.3.8 BRKEC—Receive Break Condition Counter.
This 16-bit parameter is incre-
mented when a break character string is detected.
E.2.1.3.9 UADDR1 and UADDR2.
These 16-bit parameters contain the addresses used for
address recognition.
E.2.1.3.10 RCCR—Receive Control Character Register.
The RCCR is a 16-bit register. If
a received character matches a defined control character for which the reject bit is set, the
UART controller will write the control character into the lower 8 bits (D7-D0) of RCCR and
generate a maskable interrupt. The upper 8-bits of RCCR are reserved.
E.2.1.3.11 Character1-Character7—Control Character 1-7.
These seven 16-bit table
entries define the control characters that should be compared to the incoming characters.
For 7-bit characters, the eighth bit (bit 7) should be zero. Note that reserved bits in registers
should be written as zeros.
15
0
14
FC2
13
FC1
12
FC0
11
0
10
0
9
0
8
0
7
0
6
5
4
3
0
2
0
1
0
0
0
FC2
FC1
FC0
15
E
E
E
E
E
E
E
14
R
R
R
R
R
R
R
13
—
—
—
—
—
—
—
12
—
—
—
—
—
—
—
11
—
—
—
—
—
—
—
10
—
—
—
—
—
—
—
9
—
—
—
—
—
—
—
8
—
—
—
—
—
—
—
7
0
CHARACTER1
CHARACTER2
CHARACTER3
CHARACTER4
CHARACTER5
CHARACTER6
CHARACTER7