EasyManuals Logo

Renesas RL78/G15 User Manual

Renesas RL78/G15
765 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #393 background imageLoading...
Page #393 background image
RL78/G15 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 393 of 765
Mar 7, 2023
12.3.16 Registers controlling port functions of serial input/output pins
Using the serial array unit requires setting of the registers that control the port functions multiplexed on the target channel
(port mode register (PMxx), port register (Pxx), port output mode register (POMxx), port mode control register (PMCxx)).
For details, see 4.3.1 Port mode registers 0, 2, 4, 12 (PM0, PM2, PM4, PM12), 4.3.2 Port registers 0, 2, 4, 12, 13
(P0, P2, P4, P12, P13), 4.3.4 Port input mode registers 0, 2, 4 (POM0, POM2, POM4), and 4.3.5 Port mode control
registers 0, 2 (PMC0, PMC2).
Specifically, using a port pin with a multiplexed serial data or serial clock output function (e.g.
P00/SO00/TxD0/TOOLTxD/INTP6) for serial data or serial clock output, requires setting the corresponding bits in the
port mode control register (PMCxx) and port mode register (PMxx) to 0, and the corresponding bit in the port register
(Pxx) to 1.
When using the port pin in N-ch open-drain output (V
DD
tolerance) mode, set the corresponding bit in the port output
mode register (POMxx) to 1.
Example) When P00/SO00/TxD0/TOOLTxD/INTP6/(SCK01/SCL01)/(SCLA0) is to be used for serial data output
Set the PM00 bit of port mode register 0 to 0.
Set the P00 bit of port register 0 to 1.
Specifically, using a port pin with a multiplexed serial data or serial clock input function (e.g.
P01/ANI0/SI00/RxD0/TOOLRxD/SDA00/INTP5/(TI02/TO02)/(SI01)/(SDA01)/(SDAA0)) for serial data or serial clock
input, requires setting the corresponding bit in the port mode register (PMxx) to 1, and the corresponding bit in the port
mode control register (PMCxx) to 0. In this case, the corresponding bit in the port register (Pxx) can be set to 0 or 1.
Example) When P01/ANI0/SI00/RxD0/TOOLRxD/SDA00/INTP5/(TI02/TO02)/(SI01)/(SDA01)/(SDAA0) is to be
used for serial data input
Set the PMC01 bit of port mode control register 0 to 0.
Set the PM01 bit of port mode register 0 to 1.
Set the P01 bit of port register 0 to 0 or 1.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G15 and is the answer not in the manual?

Renesas RL78/G15 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G15
CategoryMicrocontrollers
LanguageEnglish

Related product manuals