NEC UPD703116 User Manual page 447

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Asynchronous serial interface mode registers 11, 21 (ASIM11, ASIM21)
The ASIMn1 register is an 8-bit register that controls the UART1 and UART2 transfer modes.
This register can be read/written in 8-bit or 1-bit units.
7
6
ASIM11
0
0
7
6
ASIM21
0
0
Bit position
Bit name
3
MOD
2
UMST
1
UMSR
0
EBS
CHAPTER 10 SERIAL INTERFACE FUNCTION
5
4
3
0
0
MOD
UMST
5
4
3
0
0
MOD
UMST
Specifies operation mode (asynchronous/synchronous mode).
0: Asynchronous mode
1: Synchronous mode
Specifies number of continuous frame transmissions.
0: 1-frame data transmission
1: 2-frame continuous data transmission
Specifies number of continuous frame receptions.
0: 1-frame data reception
1: 2-frame continuous data reception
Specifies extension bit operation for transmit/receive data when no parity is
specified (PS0 = PS1 = 0).
0: Disable extension bit addition
1: Enable extension bit addition
When the extension bit is specified, 1 data bit is added on top of the 8 bits of
transmit/receive data, enabling 9-bit data communication.
Extension bit specification is valid only when no parity (ASIMn0 register's PS0 bit =
PS1 bit = 0) and 1-frame data transmission (UMST bit = 0) are specified. When 0
parity, odd parity, or even parity are specified, or when 2-frame continuous data
transmission (UMST bit = 1) is specified, the EBS bit setting becomes invalid and
extension bit addition is not performed.
Extension bit addition (EBS bit = 1) and 2-frame continuous data reception (UMSR
bit = 1) cannot be set simultaneously.
User's Manual U14492EJ5V0UD
2
1
0
UMSR
EBS
FFFFFA2AH
2
1
0
UMSR
EBS
FFFFFA4AH
Function
Address
Initial value
00H
Address
Initial value
00H
447

Advertisement

Table of Contents
loading

Table of Contents