EasyManua.ls Logo

Renesas RL78/G15 - Page 185

Renesas RL78/G15
765 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G15 CHAPTER 6 TIMER ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 185 of 765
Mar 7, 2023
Figure 6-11. Format of Timer Mode Register mn (TMRmn) (2/5)
Address: F0190H, F0191H (TMR00) to F019EH, F019FH (TMR07) After reset: 0000H R/W
Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TMRmn
(n = 2, 4, 6
)
CKSm
n1
CKSm
n0
0
CCSm
n
MAST
ERmn
STSmn
2
STSmn
1
STSmn
0
CISmn
1
CISmn
0
0 0
MDmn
3
MDmn
2
MDmn
1
MDmn
0
Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TMRmn
(n = 1, 3)
CKSm
n1
CKSm
n0
0
CCSm
n
SPLIT
mn
STSmn
2
STSmn
1
STSmn
0
CISmn
1
CISmn
0
0 0
MDmn
3
MDmn
2
MDmn
1
MDmn
0
Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TMRmn
(n = 0, 5, 7
)
CKSm
n1
CKSm
n0
0
CCSm
n
0
Note 1
STSmn
2
STSmn
1
STSmn
0
CISmn
1
CISmn
0
0 0
MDmn
3
MDmn
2
MDmn
1
MDmn
0
(Bit 11 of TMRmn (n = 2, 4, 6))
MASTE
Rmn
Selection between using channel n independently or simultaneously with another channel (as a slave or master)
0
Operates in independent channel operation function or as slave channel in simultaneous channel operation
function.
1 Operates as master channel in simultaneous channel operation function.
Only the channel 2, 4, 6 can be set as a master channel (MASTERmn = 1).
Be sure to use channel 0, 5, 7 are fixed to 0 (Regardless of the bit setting, channel 0 operates as master, because it is the
highest channel).
Clear the MASTERmn bit to 0 for a channel that is used with the independent channel operation function.
(Bit 11 of TMRmn (n = 1, 3))
SPLITm
n
Selection of 8 or 16-bit timer operation for channels 1 and 3
0 Operates as 16-bit timer.
(Operates in independent channel operation function or as slave channel in simultaneous channel operation
function.)
1 Operates as 8-bit timer.
STSmn
2
STSmn
1
STSmn
0
Setting of start trigger or capture trigger of channel n
0 0 0 Only software trigger start is valid (other trigger sources are unselected).
0 0 1 Valid edge of the TImn pin input is used as both the start trigger and capture trigger.
0 1 0 Both the edges of the TImn pin input are used as a start trigger and a capture trigger.
1 0 0
Interrupt signal of the master channel is used (when the channel is used as a slave
channel with the simultaneous channel operation function).
1 1 0
When the channel is used as a slave channel in two-channel input with one-shot pulse
output function:
The interrupt request signal of the master channel (INTTM0n) is used as the start
trigger.
A valid edge of the TI03 pin input of the slave channel is used as the end trigger.
Other than above Setting prohibited

Table of Contents

Related product manuals