English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (468/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 14 SERIAL ARRAY UNIT
Figure 14-7. Format of Serial Communication Operation Setting Register mn (SCRmn) (2/3)
Address: F0118H, F0119H (SCR00) to F011EH, F011FH (SCR03),
F0158H, F0159H (SCR10), F015AH, F015BH (SCR11),
F015CH, F015DH (SCR12), F015EH, F015FH (SCR13)
After reset: 0087H R/W
Symbol
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
SCRmn
TXE RXE DAP CKP 0 EOC PTC PTC DIR
mn mn mn mn
mn mn1 mn0 mn
0 SLC SLC 0 DLS DLS DLS
mn1 mn0
mn2 mn1 mn0
EOC
mn
Selection of masking of error interrupt signal (INTSREx (x = 0 to 3))
0 Masks error interrupt INTSREx (INTSRx is not masked).
1 Enables generation of error interrupt INTSREx (INTSRx is masked if an error occurs).
Set EOCmn = 0 in the CSI mode, simplified I2C mode, and during UART transmission.Note
Set EOCmn = 1 during UART reception.
PTC PTC
mn1 mn0
Setting of parity bit in UART mode
Transmission
Reception
0
0 Does not output the parity bit.
Receives without parity
0
1 Outputs 0 parity.
No parity judgment
1
0 Outputs even parity.
Judged as even parity.
1
1 Outputs odd parity.
Judges as odd parity.
Be sure to set PTCmn1, PTCmn0 = 0, 0 in the CSI mode and simplified I2C mode.
DIR
Selection of data transfer sequence in CSI and UART modes
mn
0 Inputs/outputs data with MSB first.
1 Inputs/outputs data with LSB first.
Be sure to clear DIRmn = 0 in the simplified I2C mode.
SLC SLC
mn1 mn0
Setting of stop bit in UART mode
0
0 No stop bit
0
1 Stop bit length = 1 bit
1
0 Stop bit length = 2 bits
1
1 Setting prohibited
When the transfer end interrupt is selected, the interrupt is generated when all stop bits have been completely
transferred.
Set 1 bit (SLCmn1, SLCmn0 = 0, 1) during UART reception and in the simplified I2C mode.
Set no stop bit (SLCmn1, SLCmn0 = 0, 0) in the CSI mode.
Note When using CSI01 not with EOC01 = 0, error interrupt INTSRE0 may be generated.
Caution Be sure to clear bits 3, 6, and 11 to “0”. Be sure to set bit 2 to “1”.
Remark m: Unit number (m = 0, 1), n: Channel number (n = 0 to 3)
R01UH0004EJ0501 Rev.5.01
452
Jun 20, 2011