15.3
Configuration of UART1
The UART1 pins, interrupt factors, register list and details are shown.
UART1 Pin
The pins used in the UART1 serve as general-purpose I/O port.
indicates the pin functions and the setting necessary for use in the UART1.
Table 15.3-1 UART1 Pin
Pin Name
SOT1
SCK1
SIN1
Block Diagram of Pins of UART1
Reference:
See CHAPTER I/O PORT for the block diagram of pins.
Pin Function
General-purpose I/O port,
serial data output
General-purpose I/O port,
serial clock output input
General-purpose I/O port,
serial data input
Setting Necessary for Use in UART
Set to output enable.
(SMR1 register bit 0: SOE=1)
In clock input, set pin as input port in port direction
register (DDR).
In clock output, set to output enable.
(SMR register bit 1: SCKE=1)
Set as input port in port direction register (DDR).
CHAPTER 15 UART1
435