Renesas M30245 Series User Manual page 308

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

Advertisement

M30245 Group
Setting timer A0
Selecting timer mode and functions
b7
0
0
0
0
Setting counter value
(b15)
b7
3E
Setting timer A1
Selecting event counter mode and each function
b7
0
0
0
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
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
7F
16
16
b0
Timer A1 mode register [Address 0397
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"
Continued to the next page
page 297 of 354
]
16
pin is a normal port pin)
OUT
pin is a normal port pin)
IN
Count
b7 b6
source
f(X
) : 16MH
IN
0
0
f
1
0
1
f
8
1
0
f
32
1
1
f
C32
b0
Timer A0 register [Address 0387
TA0
]
16
pin is a normal port pin)
OUT
3. Timer A Applications
Count source period
f(Xc
) : 32.768kH
Z
IN
Z
62.5ns
500ns
2µs
976.56µs
, 0386
]
16
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents