EasyManuals Logo

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 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 #280 background imageLoading...
Page #280 background image
RL78/G1H CHAPTER 10 12-BIT INTERVAL TIMER
R01UH0575EJ0120 Rev. 1.20 Page 262 of 920
Dec 22, 2016
10.3 Registers Controlling 12-bit Interval Timer
The 12-bit interval timer is controlled by the following registers.
• Peripheral enable register 0 (PER0)
• Subsystem clock supply mode control register (OSMC)
• 12-bit interval timer control register (ITMC)
10.3.1 Peripheral enable register 0 (PER0)
This register is used to enable or disable supplying the clock to the peripheral hardware. Clock supply to a
hardware macro that is not used is stopped in order to reduce the power consumption and noise.
When the 12-bit interval timer is used, be sure to set bit 7 (RTCEN) 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 this register to 00H.
Figure 10 - 2 Format of Peripheral enable register 0 (PER0)
Caution 1. When using the 12-bit interval timer, be sure to first set the RTCEN bit to 1 and then set the following
register, while oscillation of the count clock is stable. If RTCEN = 0, writing to the control register
controlling the 12-bit interval timer is ignored, and, even if the register is read, only the default value
is read (except the subsystem clock supply mode control register (OSMC)).
• 12-bit interval timer control register (ITMC)
Caution 2. Clock supply to peripheral functions other than the real-time clock and 12-bit interval timer can be
stopped in STOP mode or HALT mode when the subsystem clock is used, by setting the RTCLPC bit
of the subsystem clock supply mode control register (OSMC) to 1.
Address: F00F0H After reset: 00H R/W
Symbol <7> <6> <5> <4> <3> <2> <1> <0>
PER0 RTCEN IICA1EN ADCEN IICA0EN SAU1EN SAU0EN TAU1EN TAU0EN
RTCEN Control of real-time clock (RTC) and 12-bit interval timer input clock supply
0 Stops input clock supply.
• SFR used by the real-time clock (RTC) and 12-bit interval timer cannot be written.
• The real-time clock (RTC) and 12-bit interval timer are in the reset status.
1 Enables input clock supply.
• SFR used by the real-time clock (RTC) and 12-bit interval timer can be read/written.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals