Toshiba TLCS-90 Series Data Book page 319

8 bit microcontroller
Table of Contents

Advertisement

TOSHIBA
¢2
IRFRX
(INTRX
interrupt
SCLK
RxD
I
I
TMP90C840
~~
I
I
I
: \
I
:
I
-----b-i-t--O------)d~'-b-i-t--l-~tJk--b-it--6~)(~-b-i-t--7~jr~-----
I
Transfer timing to ____________________________________________________
~~
receiving buffer 2
Fig 3.8 (13)
Receiving Operation (I/O Interface Mode)
(2)
Mode 1 (7-bit UART mode)
The 7-bit UART mode is obtained by setting the serial channel mode
register SCMOD3 2 (SM) to "01".
This mode allows the addition of a parity bit, which is enabled or
disabled by the serial channel control register SCCRS (PE).
When PE
=
1 (enable), even or odd parity can be selected by SCCR6 (EVEN).
Example:
When
transmitting
data
with
the
following
format,
the
control registers should be set as described below.
(Baud Rates
2400 baud @fc
=
9.8304 MHz)
Transfer direction
P3CR
<-
- a
1
Select P32 as the TxD pin.
SCMOD
<-
x
a -
x 0 1 1 1
Set the transfer speed at 2,400 bps in
TRUN
<-
I
0 1
the 7-bit UART mode.
SCCR
<-
x 1 1 x x x x 0
Add an even parity.
INTEL
<-
I
Enable INTTX interrupt.
SCBUF
<-
* * * * * * *
*
Set data for transmission.
(Note)
x:
Don't care
No change
MPU90-121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents