Operations - NEC V850/SA1 mPD703015 Preliminary User's Manual

32-/16-bit single-chip microcontrollers
Table of Contents

Advertisement

10.2.3 Operations

The CSIn has the following two operation modes.
Operation stop mode
3-wire serial I/O mode
(1) Operation stop mode
This mode does not perform serial transfers and can therefore reduce power consumption.
If SIn, SOn, and the serial clock pin are selected as I/O ports in operation stop mode, they can be used as
normal I/O ports as well.
(i) Register settings
Operation stop mode are set via serial operation mode register n (CSIMn).
CSIMn can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets the register to 00H.
Figure 10-4. Format of Serial Operation Mode Register 0-2 (CSIM0-CSIM2)
After reset : 00H
7
CSIMn
CSIEn
(n = 0-2)
CSIEn
0
1
Note When CSIEn = 1 (SIOn operation enable status), SIn can be used as a port function when using only
the transmit function and SOn can be used as a port function when using the receive-only mode.
CHAPTER 10
SERIAL INTERFACE FUNCTION
R/W
Address: CSIM0
6
5
0
0
SIOn Operation Enable/Disable Specification
Shift register operation
Operation disable
Operation enable
FFFFF2A2H
CSIM1
FFFFF2B2H
CSIM2
FFFFF2C2H
4
3
0
0
MODEn
Serial counter
Clear
Count operation enable
2
1
0
SCLn1
SCLn0
Note
Port
Port function
Serial function + port function
213

Advertisement

Table of Contents
loading

Table of Contents