NEC 78K0R/KE3 User Manual page 393

16-bit single-chip microcontrollers
Table of Contents

Advertisement

(1) Register setting
Figure 11-48. Example of Contents of Registers for Slave Transmission of 3-Wire Serial I/O
(a) Serial output register 0 (SO0) ... Sets only the bits of the target channel.
15
14
13
SO0
0
0
0
(b) Serial output enable register 0 (SOE0) ... Sets only the bits of the target channel to 1.
15
14
13
SOE0
0
0
0
(c) Serial channel start register 0 (SS0) ... Sets only the bits of the target channel to 1.
15
14
13
SS0
0
0
0
(d) Serial mode register 0n (SMR0n)
15
14
13
SMR0n
CKS0n
CCS0n
0/1
1
0
(e) Serial communication operation setting register 0n (SCR0n)
15
14
13
SCR0n
TXE0n
RXE0n
DAP0n
1
0
0/1
(f) Serial data register 0n (SDR0n) (lower 8 bits: SIOp)
15
14
13
SDR0n
Baud rate setting
Remark
n: Channel number (n = 0, 2), p: CSI number (p = 00, 10)
: Setting is fixed in the CSI slave transmission mode,
×: Bit that cannot be used in this mode (set to the initial value when not used in any mode)
0/1: Set to 0 or 1 depending on the usage of the user
CHAPTER 11 SERIAL ARRAY UNIT
(CSI00, CSI10)
12
11
10
9
8
CKO02
CKO00
×
×
0
1
1
12
11
10
9
8
0
0
0
0
0
12
11
10
9
8
0
0
0
0
0
12
11
10
9
8
STS0n
0
0
0
0
0
12
11
10
9
8
CKP0n
EOC0n
PTC0n1
PTC0n0
0/1
0
0
0
0
12
11
10
9
8
0
User's Manual U17854EJ9V0UD
7
6
5
4
3
0
0
0
0
1
7
6
5
4
3
0
0
0
0
0
7
6
5
4
3
SS03
×
0
0
0
0
7
6
5
4
3
SIS0n0
0
0
1
0
0
Interrupt sources of channel n
0: Transfer end interrupt
1: Buffer empty interrupt
7
6
5
4
3
DIR0n
SLC0n1
SLC0n0
0/1
0
0
0
0
7
6
5
4
3
Transmit data setting
SIOp
: Setting disabled (set to the initial value)
2
1
0
SO02
SO00
0/1
1
0/1
2
1
0
SOE02
SOE00
0/1
0
0/1
2
1
0
SS02
SS01
SS00
×
0/1
0/1
2
1
0
MD0n2
MD0n1
MD0n0
0
0
0/1
2
1
0
DLS0n2
DLS0n1
DLS0n0
1
1
0/1
2
1
0
393

Advertisement

Table of Contents
loading

Table of Contents