CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U15195EJ5V0UD
408
10.2 Asynchronous Serial Interface 0 (UART0)
10.2.1 Features
•
Transfer rate: 300 bps to 1,250 kbps (using a dedicated baud rate generator and an internal system clock of
40 MHz)
•
Full-duplex
communications
On-chip receive buffer register 0 (RXB0)
On-chip transmit buffer register 0 (TXB0)
•
Two-pin
configuration
Note
TXD0: Transmit data output pin
RXD0: Receive data input pin
•
Reception error detection functions
•
Parity
error
•
Framing
error
•
Overrun
error
•
Interrupt sources: 3 types
•
Reception error interrupt (INTSER0):
Interrupt is generated according to the logical OR of the
three types of reception errors
•
Reception completion interrupt (INTSR0):
Interrupt is generated when receive data is transferred from
the receive shift register to receive buffer register 0 after
serial transfer is completed during a reception enabled state
•
Transmission completion interrupt (INTST0): Interrupt is generated when the serial transmission of
transmit data (8 or 7 bits) from the transmit shift register is
completed
•
The character length of transmit/receive data is specified by to the ASIM0 register
•
Character length: 7 or 8 bits
•
Parity functions: Odd, even, 0, or none
•
Transmission stop bits: 1 or 2 bits
•
On-chip dedicated baud rate generator
Note
The SCK and CTS pins are not available for UART0.