M30622ECTFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30622ECTFP Datasheet - Page 139

no-image

M30622ECTFP

Manufacturer Part Number
M30622ECTFP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
UART2 Special Mode Register
Figure 1.19.25. UART2 special mode register
Table 1.19.9. Features in IIC mode
10
11
UART2 Special Mode Register
1
2
3
4
5
6
7
8
9
Note 1: Make the settings given below when IIC mode is in use.
Note 2: Follow the steps given below to switch from a factor to another.
Note 3: Set an initial value of SDA transmission output when serial I/O is invalid.
Note 4: In M30623(80-pin package), P7
The UART2 special mode register (address 0377
Figure 1.19.25 shows the UART2 special mode register.
Factor of interrupt number 10 (Note 2)
Factor of interrupt number 15 (Note 2)
Factor of interrupt number 16 (Note 2)
UART2 transmission output delay
P7
P7
P7
DMA1 factor at the time when 1 1 0 1 is assigned
to the DMA request factor selection bits
Noise filter width
Reading P7
Initial value of UART2 output
0
1
2
UART2 special mode register
b7 b6 b5 b4 b3 b2 b1 b0
Tentative Specifications REV.A
at the time when UART2 is in use
at the time when UART2 is in use
at the time when UART2 is in use
1. Disable the interrupt of the corresponding number.
2. Switch from a factor to another.
3. Reset the interrupt request flag of the corresponding number.
4. Set an interrupt level of the corresponding number.
S
Set 0 1 0 in bits 2, 1, 0 of the UART2 transmission/reception mode register.
Disable the RTS/CTS function. Choose the LSB First function.
pecifications in this manual are tentative and subject to change.
1
Function
Note: Nothing but "0" may be written.
IICM
ABC
ABSCS
ACSE
BBS
LSYN
symbol
SSS
Nothing is assigned.
In an attempt to write to this bit, write “0”. The value, if read, turns out to be “0”.
Bit
2
Symbol
U2SMR
is not connected to external pin.
IIC mode selection bit
Arbitration lost detecting
flag control bit
Bus collision detect
sampling clock select bit
Transmit start condition
select bit
Bus busy flag
SCLL sync output
enable bit
Auto clear function
select bit of transmit
enable bit
(Note 4)
Bit name
UART2 transmission
TxD
UART2 reception
Bus collision detection
UART2 reception
Not delayed
RxD
CLK
15ns
Reading the terminal when 0 is
assigned to the direction register
H level (when 0 is assigned to
the CLK polarity select bit)
2
2
2
Address
(output)
0377
(input)
16
Normal mode
139
0 : Normal mode
1 : IIC mode
0 : Update per bit
1 : Update per byte
(During clock synchronous
0 : STOP condition detected
1 : START condition detected
0 : Disabled
1 : Enabled
Must always be “0”
Must always be “0”
Must always be “0”
16
) is used to control UART2 in various ways.
serial I/O mode)
When reset
Function
00
16
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
0 : Ordinary
1 : Falling edge of RxD2
0 : Rising edge of transfer
1 : Underflow signal of timer A0
0 : No auto clear function
1 : Auto clear at occurrence of
Must always be “0”
Must always be “0”
Must always be “0”
Must always be “0”
SDA (input/output) (Note 3)
Start condition detection or stop
condition detection
No acknowledgment detection (NACK)
Acknowledgment detection (ACK)
SCL (input/output)
P7
Acknowledgment detection (ACK)
50ns
Reading the terminal regardless of the
value of the direction register
The value set in latch P7
selected
Delayed
clock
bus collision
(During UART mode)
2
Function
IIC mode (Note 1)
Mitsubishi microcomputers
M16C / 62T Group
0
when the port is
(Note)
R
W

Related parts for M30622ECTFP