Renesas M16C FAMILY series Hardware Manual page 122

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
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 TA1
2. Overflow or underflow
Clock Prescaler Reset Flag
b7
b6
b5
b4
b3
Figure 12.6 ONSF Register, TRGSR Register, and CPSRF Register
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
b2
b1
b0
Symbol
ONSF
Bit Symbol
Timer A0 one-shot start flag
TA0OS
Timer A1 one-shot start flag
TA1OS
TA2OS
Timer A2 one-shot start flag
TA3OS
Timer A3 one-shot start flag
TA4OS
Timer A4 one-shot start flag
TAZIE
Z-phase input enable bit
TA0TGL
Timer A0 event/trigger
select bit
TA0TGH
b2
b1
b0
Symbol
TRGSR
Bit Symbol
TA1TGL
Timer A1 event/trigger
select bit
TA1TGH
TA2TGL
Timer A2 event/trigger
select bit
TA2TGH
TA3TGL
Timer A3 event/trigger
select bit
TA3TGH
TA4TGL
Timer A4 event/trigger
select bit
TA4TGH
b2
b1
b0
Symbol
CPSRF
Bit Symbol
Nothing is assigned. When write, set to "0".
When read, the contents are indeterminate
(b6-b0)
CPSR
Clock prescaler reset flag
page 102
f o
3
8
5
Address
After Reset
0382
00
16
16
Bit Name
The timer starts counting by setting
this bit to "1" while the TMOD1 to
TMOD0 bits of TAiMR register (i =
0 to 4) = '10
mode) and the MR2 bit of 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 TA0
0 1 : TB2 overflow is selected
1 0 : TA4 overflow is selected
1 1 : TA1 overflow is selected
Address
After Reset
0383
00
16
16
Bit Name
b1 b0
0 0 :
0 1 : TB2 is selected
1 0 : TA0 is selected
1 1 : TA2 is selected
b3 b2
0 0 :
0 1 : TB2 is selected
1 0 : TA1 is selected
1 1 : TA3 is selected
b5 b4
0 0 :
Input on TA3
0 1 : TB2 is selected
1 0 : TA2 is selected
1 1 : TA4 is selected
b7 b6
0 0 :
0 1 : TB2 is selected
1 0 : TA3 is selected
1 1 : TA0 is selected
to TA4
pins are set to "0" (= input mode).
IN
IN
Address
After Reset
0381
0XXXXXXX
16
Bit Name
Setting this bit to "1" initializes the
prescaler for the timekeeping clock.
(When read, the content is "0". )
Function
' (= one-shot timer
2
is selected
(1)
IN
(2)
(2)
(2)
Function
Input on TA1
is selected (1)
IN
(2)
(2)
(2)
Input on TA2
is selected (1)
IN
(2)
(2)
(2)
is selected (1)
IN
(2)
(2)
(2)
Input on TA4
is selected (1)
IN
(2)
(2)
(2)
2
Function
12. Timer
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents