MC80F0304/08/16
November 4, 2011 Ver 2.12
87
Figure 16-3 Asynchronous Serial Interface Mode register (ASIMR) Format
BTCL
7
6
5
4
3
2
1
0
RXE
TXE
ISRM
UART Stop Bit Length for Specification for Transmit Data bit
INITIAL VALUE: 0000 -00-
B
ADDRESS: 0E6
H
ASIMR
-
R/W
R/W
-
R/W
R/W
-
0: 1 bit
1: 2 bit
UART Receive interrupt request is issued when an error occurs bit
-
SL
PS1
PS0
R/W
UART Parity Bit Specification bit
00: No parity
01: Zero parity always added during transmission.
10: Odd parity
11: Even parity
UART Tx/Rx Enable bit
R/W
0: Receive Completion Interrupt Control When Error occurs
1: Receive completion interrupt request is not issued when an error occur
No parity detection during reception (parity errors do not occur)
00: Not used UART
01: UART Receive only Mode
10: UART Transmit only Mode
11: UART Receive & Transmit Mode
TXE (ASIMR.7)
RXE(ASIMR.6)
EC0(PSR0.4)
Operation Mode
RXD/R04
TXD/R05
0
0
X
1
Operation Stop
R04
R05
0
1
0
UART mode (Receive only)
RXD
R05
1
0
X
UART mode (Transmit only)
R04
TXD
1
1
0
UART mode (Transmit and receive)
RXD
TXD
Table 16-2 UART mode and RXD/TXD pin function
1.
X:The value "0" or "1" corresponding your operation