English
Language : 

M16C62_M Datasheet, PDF (520/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Timer A Applications
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Setting timer A1
Continued from the previous page
Selecting one-shot timer mode and functions
b7
00
01
0
1
b0
10
Timer A1 mode register [Address 039716]
TA1MR
Selection of one-shot timer mode
Pulse output function select bit
1 : Pulse is output (TA1OUT pin is pulse output pin)
External trigger select bit
Invalid when choosing timer's overflow
Trigger select bit
1 : Selected by event/trigger select register
0 (Must always be “0” in one-shot timer mode)
Count source select bit
b7 b6
0 0 : f1
b7
b6
Count
Count source period
source f(XIN) : 16MHZ f(XcIN) : 32.768kHZ
0 0 f1
62.5ns
0 1 f8
500ns
1 0 f32
2µs
1 1 fC32
976.56µs
Setting trigger select register
(Set timer A0 to trigger timer A1)
b7
b0
10
Trigger select register [Address 038316]
TRGSR
Timer A1 event/trigger select bit
b1 b0
1 0 : TA0 overflow is selected
Setting one-shot timer's time
(b15)
b7
0316
(b8)
b0 b7
2016
b0 Timer A1 register [Address 038916, 038816]
TA1
Setting count start flag
b7
b0
1 1 Count start flag [Address 038016]
TABSR
Timer A0 count start flag
1 : Starts counting
Timer A1 count start flag
1 : Starts counting
Start counting
Figure 3.3.4. Set-up procedure of delayed one-shot output (2)
2-203