Csin Control Registers - NEC V850/SA1 mPD703015 Preliminary User's Manual

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

Advertisement

10.2.2 CSIn control registers

The CSIn uses the following type of register for control functions.
Serial operation mode register n (CSIMn)
Serial clock selection register n (CSISn)
(1) Serial operation mode register 0-2 (CSIM0-CSIM2)
This register is used to enable or disable serial interface channel n's serial clock, operation modes, and specific
operations.
CSIMn can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets these registers to 00H.
(2) Serial clock selection register 0-2 (CSIS0-CSIS2)
This register is used to set serial interface channel n's serial clock. CSISn can be set by a 1-bit or 8-bit memory
manipulation instruction.
RESET input sets these registers to 00H.
Figure 10-2. Format of Serial Operation Mode Register 0-2 (CSIM0-CSIM2) (1/2)
After reset:
00H
7
CSIMn
CSIEn
(n = 0-2)
CSIEn
0
1
Note When CSIEn = 1 (SIOn operation enable status), the port function is available only for the pin that is
connected to SIn when only using the transmit function and to SOn when only using the receive
function.
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
211

Advertisement

Table of Contents
loading

Table of Contents