RL78/G15 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 372 of 765
Mar 7, 2023
12.3.1 Peripheral enable register 0 (PER0)
The PER0 register is used to enable or disable the supply of a clock signal to various on-chip peripheral modules. Clock
supply to an on-chip peripheral module that is not to be used can be stopped to decrease power consumption and noise.
If serial array unit 0 is to be used, be sure to set bit 2 (SAU0EN) of this register to 1.
The PER0 register can be set by a 1-bit or 8-bit memory manipulation instruction.
The value of the PER0 register is 00H following a reset.
Figure 12-3. Format of Peripheral Enable Register 0 (PER0)
Address: F00F0H After reset: 00H R/W
Symbol
□
7
□
6
□
5
□
4 3
□
2 1
□
0
PER0 TMKAEN CMPEN ADCEN IICA0EN 0 SAU0EN 0 TAU0EN
SAUmEN Control of supply of an input clock to serial array unit m
0 Stops supply of an input clock.
●
The SFRs used by serial array unit m cannot be written.
●
Serial array unit m is in the reset state.
1 Enables supply of an input clock.
●
The SFRs used by serial array unit m can be read and written.
Caution 1. When setting serial array unit m, make sure that the setting of the SAUmEN bit is 1 before setting
the following registers. If SAUmEN = 0, the values of the registers which control serial array unit m
are cleared to their initial values, and writing to them is ignored (except for the input switch control
register (ISC), noise filter enable register 0 (NFEN0), port output mode registers 0, 2, 4 (POM0,
POM2, POM4), port mode control registers 0, 2 (PMC0, PMC2), port mode registers 0, 2, 4 (PM0,
PM2, PM4), and port registers 0, 2, 4 (P0, P2, P4)).
Serial clock select register m (SPSm)
Serial mode register mn (SMRmn)
Serial communication operation setting register mn (SCRmn)
Serial data register mn (SDRmn)
Serial flag clear trigger register mn (SIRmn)
Serial status register mn (SSRmn)
Serial channel start register m (SSm)
Serial channel stop register m (STm)
Serial channel enable status register m (SEm)
Serial output enable register m (SOEm)
Serial output level register m (SOLm)
Serial output register m (SOm)
Caution 2. Be sure to clear bits 3 and 1 to 0.