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 #244 background imageLoading...
Page #244 background image
RL78/G15 CHAPTER 6 TIMER ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 244 of 765
Mar 7, 2023
Figure 6-51. Operation Procedure When Frequency Divider Function Is Used (2/2)
Software Operation Hardware Status
Operation is resumed.
Operation
start
Sets the TOE0n bit to 1 (only when operation is
resumed).
Sets the TS0n bit to 1.
The TS0n bit automatically returns to 0 because it
is a trigger bit.
TE0n = 1, and count operation starts.
Value of the TDR0n register is loaded to timer
count register 0n (TCR0n). INTTM0n is generated
and TO0n performs toggle operation if the MD0n0
bit of the TMR0n register is 1.
During
operation
Set value of the TDR0n register can be changed.
The TCR0n register can always be read.
The TSR0n register is not used.
Set values of the TO0 and TOE0 registers can be
changed.
Set values of the TMR0n register, TOM0n, and
TOL0n bits cannot be changed.
Counter (TCR0n) counts down. When count value
reaches 0000H, the value of the TDR0n register is
loaded to the TCR0n register again, and the count
operation is continued. By detecting TCR0n = 0000H,
INTTM0n is generated and TO0n performs toggle
operation.
After that, the above operation is repeated.
Operation
stop
The TT0n bit is set to 1.
The TT0n bit automatically returns to 0 because it
is a trigger bit.
TE0n = 0, and count operation stops.
The TCR0n register holds count value and stops.
The TO0n output is not initialized but holds current
status.
The TOE0n bit is cleared to 0 and value is set to the
TO0n bit.
The TO0n pin outputs the TO0n set level.
TAU stop To hold the TO0n pin output level
Clears the TO0n bit to 0 after the value to be held
is set to the port register.
When holding the TO0n pin output level is not
necessary
Setting not required.
The TO0n pin output level is held by port function.
The TAU0EN bit of the PER0 register is cleared to 0. Power-off status
All circuits are initialized and SFR of each channel
is also initialized.
(The TO0n bit is cleared to 0 and the TO0n pin is
set to port mode)
Remark n: Channel number (n = 0, 3)

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