RL78/G1P
CHAPTER 11 SERIAL ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
316
Nov 29, 2019
11.3.1 Peripheral enable register 0 (PER0)
The PER0 register is used to enable or disable supply of the clock signal to peripheral hardware. Clock supply to a
hardware that is not in use is stopped in order to reduce power consumption and noise.
When 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.
Reset signal generation clears the PER0 register to 00H.
Figure 11-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 0
IICA1EN
ADCEN
IICA0EN 0 SAU0EN 0 TAU0EN
SAUmEN
Control of serial array unit m input clock supply
0
Stops supply of input clock.
SFR used by serial array unit m cannot be written.
Serial array unit m is in the reset status.
1
Enables input clock supply.
SFR used by serial array unit m can be read/written.
Cautions 1. When setting serial array unit m, be sure to first set the following registers with the SAUmEN bit
set to 1. If SAUmEN = 0, writing to a control register of serial array unit m is ignored, and, even if
the register is read, only the default value is read (except for the input switch control register
(ISC), noise filter enable register 0 (NFEN0), port mode register 3 (PM3), and port register 3 (P3)).
• 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)
• Serial standby control register m (SSCm)
2. Be sure to clear bits 7, 3, and 1 to “0”.