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 #268 background imageLoading...
Page #268 background image
RL78/G15 CHAPTER 6 TIMER ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 268 of 765
Mar 7, 2023
Figure 6-68. Operation Procedure of One-Shot Pulse Output Function (2/3)
Software Operation Hardware Status
Operation is resumed.
Operation
start
Sets the TOEmp bit (slave) to 1 (only when operation
is resumed).
The TSmn (master) and TSmp (slave) bits of timer
channel start register m (TSm) are set to 1 at the
same time.
The TSmn and TSmp bits automatically return to 0
because they are trigger bits.
The TEmn and TEmp bits are set to 1 and the master
channel enters the start trigger detection (the valid
edge of the TImn pin input is detected or the TSmn bit
of the master channel is set to 1) wait status.
Counter stops operating.
Count operation of the master channel is started by
start trigger detection of the master channel.
Detects the TImn pin input valid edge.
Sets the TSmn bit of the master channel to 1 by
software
Note 1
.
Master channel starts counting.
During
operation
Set values of only the CISmn1 and CISmn0 bits of the
TMRmn register can be changed.
Set values of the TMRmp, TDRmn, TDRmp registers,
TOMmn, TOMmp, TOLmn, and TOLmp bits cannot be
changed.
The TCRmn and TCRmp registers can always be
read.
The TSRmn and TSRmp registers are not used.
Set values of the TOm and TOEm registers by slave
channel can be changed.
Master channel loads the value of the TDRmn register
to timer count register mn (TCRmn) by the start
trigger detection (the valid edge of the TImn pin input
is detected or the TSmn bit of the master channel is
set to 1), and the counter starts counting down.
When the count value reaches TCRmn = 0000H, the
INTTMmn output is generated, and the count
operation stops until the next start trigger detection.
The slave channel, triggered by INTTMmn of the
master channel, loads the value of the TDRmp
register to the TCRmp register, and the counter starts
counting down. The output level of TOmp becomes
active one count clock after generation of INTTMmn
output from the master channel. It becomes inactive
when TCRmp = 0000H, and the counting operation is
stopped.
After that, the above operation is repeated.
Operation
stop
The TTmn (master) and TTmp (slave) bits are set to 1
at the same time.
The TTmn and TTmp bits automatically return to 0
because they are trigger bits.
TEmn, TEmp = 0, and count operation stops.
The TCRmn and TCRmp registers hold count
value and stop.
The TOmp output is not initialized but holds
current status.
The TOEmp bit of slave channel is cleared to 0 and
value is set to the TOmp bit.
The TOmp pin outputs the TOmp set level.
Note 1. Do not set the TSmn bit of the slave channel to 1.
Remark m: Unit number (m = 0), n: Master channel number (n = 0, 2, 4, 6)
p: Slave channel number (n < p 7)

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