Renesas RL78/G1P Hardware User Manual page 163

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
Address: F0190H, F0191H (TMR00) to F0196H, F0197H (TMR03)
Symbol
15
14
CKS
CKS
TMRmn
mn1
mn0
(n = 2)
Symbol
15
14
TMRmn
CKS
CKS
mn1
mn0
(n = 1, 3)
Symbol
15
14
TMRmn
CKS
CKS
mn1
mn0
(n = 0)
(Bit 11 of TMRmn (n = 2))
MAS
TER
mn
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 channel 2 can be set as a master channel (MASTERmn = 1).
Channel 0 is fixed to 0 (channel 0 always operates as master regardless of the bit setting, 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))
SPLI
Tmn
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.
STS
STS
mn2
mn1
0
0
0
0
0
1
1
0
Other than above
Bit 11 is a read-only bit and fixed to 0. Writing to this bit is ignored.
Note
Remark m: Unit number (m = 0), n: Channel number (n = 0 to 3)
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 6-11. Format of Timer Mode Register mn (TMRmn) (2/4)
13
12
11
10
CCS
MAST
STS
0
mn
ERmn
mn2
13
12
11
10
0
CCS
SPLIT
STS
mn
mn
mn2
13
12
11
10
0
CCS
0
STS
Note
mn
mn2
Selection between using channel n independently or
simultaneously with another channel(as a slave or master)
Selection of 8 or 16-bit timer operation for channels 1 and 3
STS
Setting of start trigger or capture trigger of channel n
mn0
0
Only software trigger start is valid (other trigger sources are unselected).
1
Valid edge of the TImn pin input is used as both the start trigger and capture trigger.
0
Both the edges of the TImn pin input are used as a start trigger and a capture trigger.
0
Interrupt signal of the master channel is used (when the channel is used as a slave channel
with the simultaneous channel operation function).
Setting prohibited
After reset: 0000H
9
8
7
6
STS
STS
CIS
CIS
mn1
mn0
mn1
mn0
9
8
7
6
STS
STS
CIS
CIS
mn1
mn0
mn1
mn0
9
8
7
6
STS
STS
CIS
CIS
mn1
mn0
mn1
mn0
CHAPTER 6 TIMER ARRAY UNIT
R/W
5
4
3
2
MD
MD
0
0
mn3
mn2
mn1
5
4
3
2
0
0
MD
MD
mn3
mn2
mn1
5
4
3
2
0
0
MD
MD
mn3
mn2
mn1
1
0
MD
MD
mn0
1
0
MD
MD
mn0
1
0
MD
MD
mn0
144

Advertisement

Table of Contents
loading

Table of Contents