Renesas M16C/62P Hardware Manual page 139

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
One-Shot Start Flag
b7
b6
b5
b4
b3
NOTES:
1. Make sure the PD7_1 bit in the PD7 register is set to "0" (= input mode).
2. Overflow or underflow.
Trigger Select Register
b7
b6
b5
b4
b3
NOTES:
1. Make sure the port direction bits for the TA1IN to TA4IN pins are set to "0" (= input mode).
2. Overflow or underflow.
Clock Prescaler Reset Flag
b7
b6
b5
b4
b3
Figure 15.6 ONSF Register, TRGSR Register, and CPSRF Register
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
Symbol
b2
b1
b0
ONSF
Bit Symbol
Timer A0 One-Shot Start Flag
TA0OS
Timer A1 One-Shot Start Flag
TA1OS
Timer A2 One-Shot Start Flag
TA2OS
TA3OS
Timer A3 One-Shot Start Flag
TA4OS
Timer A4 One-Shot Start Flag
TAZIE
Z-Phase Input Enable Bit
Timer A0 Event/Trigger
TA0TGL
Select Bit
TA0TGH
Symbol
b2
b1
b0
TRGSR
Bit symbol
Timer A1 Event/Trigger
TA1TGL
Select Bit
TA1TGH
Timer A2 Event/Trigger
TA2TGL
Select Bit
TA2TGH
Timer A3 Event/Trigger
TA3TGL
Select Bit
TA3TGH
Timer A4 Event/Trigger
TA4TGL
Select Bit
TA4TGH
b2
b1
b0
Symbol
CPSRF
Bit Symbol
Nothing is assigned.
When write, set to "0". When read, their contents are
(b6-b0)
indeterminate.
Clock Prescaler Reset Flag Setting this bit to "1" initializes the
CPSR
page 125
f o
3
6
4
Address
After Reset
0382h
00h
Bit Name
The timer starts counting by setting
this bit to "1" while the TMOD1 to
TMOD0 bits in the TAiMR register
(i = 0 to 4) = 10b (= one-shot timer
mode) and the MR2 bit in the
TAiMR register = 0 (=TAiOS bit
enabled). When read, its content is
"0".
0 : Z-phase input disabled
1 : Z-phase input enabled
b7 b6
0 0 : Input on TA0IN is selected
0 1 : TB2 is selected
1 0 : TA4 is selected
1 1 : TA1 is selected
Address
After Reset
0383h
00h
Bit Name
b1 b0
0 0 : Input on TA1IN is selected
0 1 : TB2 is selected
1 0 : TA0 is selected
1 1 : TA2 is selected
b3 b2
0 0 : Input on TA2IN is selected
0 1 : TB2 is selected
1 0 : TA1 is selected
1 1 : TA3 is selected
b5 b4
0 0 : Input on TA3IN is selected
0 1 : TB2 is selected
1 0 : TA2 is selected
1 1 : TA4 is selected
b7 b6
0 0 : Input on TA4IN is selected
0 1 : TB2 is selected
1 0 : TA3 is selected
1 1 : TA0 is selected
Address
After Reset
0381h
0XXXXXXXb
Bit Name
prescaler for the timekeeping clock.
(When read, its content is "0".)
15. Timers
RW
Function
RW
RW
RW
RW
RW
RW
RW
(1)
(2)
(2)
RW
(2)
Function
RW
(1)
RW
(2)
(2)
RW
(2)
RW
(1)
(2)
(2)
RW
(2)
RW
(1)
(2)
(2)
RW
(2)
RW
(1)
(2)
(2)
RW
(2)
RW
Function
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents