Rev.2.00 Oct 16, 2006 page 8 of 354
REJ09B0340-0200
M30245 Group
2. Timer A
Figure 2.2.2. Timer A-related registers (1)
Figure 2.2.1. Memory map of timer A-related registers
Timer A0 (TA0)
Timer A1 (TA1)
Timer A2 (TA2)
Count start flag (TABSR)
One-shot start flag (ONSF)
Up-down flag (UDF)
Timer A3 (TA3)
Timer A4 (TA4)
Trigger select register (TRGSR)
Clock prescaler reset flag (CPSRF)
Timer A3 interrupt control register (TA3IC)
Timer A4 interrupt control register (TA4IC)
Timer A2 interrupt control register (TA2IC)
Timer A0 interrupt control register (TA0IC)
Timer A0 mode register (TA0MR)
Timer A1 mode register (TA1MR)
Timer A2 mode register (TA2MR)
Timer A3 mode register (TA3MR)
Timer A4 mode register (TA4MR)
Timer A1 interrupt control register (TA1IC)
0045
16
0047
16
0054
16
0057
16
0059
16
0380
16
0381
16
0382
16
0383
16
0384
16
038E
16
038F
16
0396
16
0397
16
0398
16
0399
16
039A
16
038C
16
038D
16
038A
16
038B
16
0386
16
0387
16
0388
16
0389
16
Bit Symbol
Bit Name
Function
R W
TMOD0
Operation mode
select bit
Symbol
TAiMR (i=0 to 4)
Address
0396
16
to 039A
16
When reset
00
16
Timer Ai mode register (i = 0 to 4)
b7
b5
b6
b4
b3
b2
b1
b0
O O
TMOD1
O O
O O
O O
O O
O O
O O
0 0 : Timer mode
0 1 : Event counter mode
1 0 : One-shot timer mode
1 1 : PWM mode
b1 b0
MR0
MR1
MR2
MR3
TCK0
TCK1
Function varies with each mode
operation
Count source select bit
Function varies with each mode
operation
O O
Summary of Contents for M16C FAMILY
Page 12: ...Chapter 1 Hardware...
Page 13: ...See M30245 group datasheet...
Page 14: ...Chapter 2 Peripheral Functions Usage...
Page 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Page 340: ...Chapter 4 External Buses...
Page 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 362: ...Chapter 5 Standard Characteristics...