152
CHAPTER 11 SERIAL INTERFACES SIO30 TO SIO32
User’s Manual U15104EJ2V0UD
11.4 Operations of Serial Interfaces SIO30 to SIO32
This section explains the two modes of the serial interfaces SIO30 to SIO32.
11.4.1 Operation stop mode
In this mode, serial transfer is not performed.
The alternate-function pins used for the serial interface can be used as ordinary I/O port pins.
(1) Register setting
The operation stop mode is set using serial operating mode register 3n (CSIM3n).
CSIM3n is set with a 1-bit or 8-bit memory manipulation instruction.
Reset input clears this register to 00H.
CSIE3n
Enable/disable of SIO3n operation
Shift register operation
Serial counter
Port
0
Disables operation
Cleared
Port function
Note 1
1
Enables operation
Enables count operation
Serial fu port function
Note 2
Notes 1. The SI3n, SO3n, and SCK3n pins can be used as port pins when CSIE3n = 0 (when SIO3n operation
is stopped).
2. When CSIE3n = 1 (when SIO3n operation is enabled), the SI3n pin can be used as a port pin if
only the transmission function is used, and the SO3n pin can be used as a port pin in the receive
mode.
Remark
n = 0 to 2
R/W
R/W
Address
FF6FH
After reset
00H
Symbol
CSIM30
<7>
CSIE30
6
0
5
0
4
0
3
0
2
MODE30
1
SCL301
0
SCL300
R/W
FF6DH
00H
CSIM31
<7>
CSIE31
6
0
5
0
4
0
3
0
2
MODE31
1
SCL311
0
SCL310
R/W
FF6BH
00H
CSIM32
<7>
CSIE32
6
0
5
0
4
0
3
0
2
MODE32
1
SCL321
0
SCL320
Содержание mPD178053
Страница 2: ...2 User s Manual U15104EJ2V0UD MEMO ...