Renesas M16C Series User Manual page 306

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

Advertisement

M30245 Group
Setting timer A0
Selecting timer mode and functions
b7
0
www.DataSheet4U.com
Setting counter value
(b15)
b7
Setting timer A1
Selecting event counter mode and each function
b7
0
Figure 3.1.3. Set-up procedure of long-period timers (1)
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
b0
Timer A0 mode register [Address 0396
0
0
0
0
0
0
0
TA0MR
Selection of timer mode
Pulse output function select bit
0 : Pulse is not output (TA0
Gate function select bit
b4 b3
0 0 : Gate function not available (TA0
0 (Must always be "0" in timer mode)
Count source select bit
b7 b6
0 0 : f
1
(b8)
b0
b7
3E
16
b0
Timer A1 mode register [Address 0397
0
0
0
0
0
0
1
TA1MR
Selection of event counter mode
Pulse output function select bit]
0 : Pulse is not output (TA1
Count polarity select bit
Up/down switching cause select bit
0 : Up/down flag content
0 (Must always be "0" in event counter mode)
Count operation type select bit
0 : Reload type
When not using two-phase pulse signal processing, set this bit to "0"
page 297 of 354
]
16
pin is a normal port pin)
OUT
pin is a normal port pin)
IN
Count
b7 b6
source
0
0
f
1
0
1
f
1
0
f
32
1
1
f
C32
b0
Timer A0 register [Address 0387
7F
16
TA0
]
16
pin is a normal port pin)
OUT
Continued to the next page
3. Timer A Applications
Count source period
f(X
) : 16MH
f(Xc
) : 32.768kH
IN
Z
IN
62.5ns
500ns
8
2µs
976.56µs
, 0386
]
16
16
Z

Advertisement

Table of Contents
loading

Table of Contents