Rev.2.00 Oct 16, 2006 page 10 of 354
REJ09B0340-0200
M30245 Group
2. Timer A
Figure 2.2.4. Timer A-related registers (3)
Bit Symbol
Bit Name
Function
R W
TA0UD
Timer A0 up/down flag
Symbol
UDF
Address
0384
16
When reset
00
16
Up/down flag (Note)
b7
b5
b6
b4
b3
b2
b1
b0
O O
TA1UD
TA2UD
TA3UD
TA4UD
TA2P
TA3P
TA4P
O O
O O
O O
O O
_
O
_
O
_
O
Timer A1 up/down flag
Timer A2 up/down flag
Timer A3 up/down flag
Timer A4 up/down flag
Timer A2 two-phase pulse
signal processing select bit
0 : Down count
1 : Up count
Timer A3 two-phase pulse
signal processing select bit
Timer A4 two-phase pulse
signal processing select bit
This specification becomes valid
when the up/down flag content is
selected for up/down switching cause
0 : Disabled
1 : Enabled
When not using the two-phase pulse
signal processing function, set the
select bit to “0”
Note : Use MOV instruction to write to this register
Bit Symbol
Bit Name
Function
R W
TA1TGL
Timer A1 event/trigger
select bit
Symbol
TRGSR
Address
0383
16
When reset
00
16
Trigger select register
b7
b5
b6
b4
b3
b2
b1
b0
O O
TA1TGH
TA2TGL
TA2TGH
TA3TGL
TA3TGH
TA4TGL
TA4TGH
O O
O O
O O
O O
O O
O O
O O
Timer A2 event/trigger
select bit
Timer A3 event/trigger
select bit
Timer A4 event/trigger
select bit
0 0 : Input on TA1
IN
is selected (Note)
0 1 : Invalid
1 0 : TA0 overflow is selected
1 1 : TA2 overflow is selected
b1 b0
0 0 : Input on TA2
IN
is selected (Note)
0 1 : Invalid
1 0 : TA1 overflow is selected
1 1 : TA3 overflow is selected
b3 b2
0 0 : Input on TA3
IN
is selected (Note)
0 1 : Invalid
1 0 : TA2 overflow is selected
1 1 : TA4 overflow is selected
b5 b4
0 0 : Input on TA4
IN
is selected (Note)
0 1 : Invalid
1 0 : TA3 overflow is selected
1 1 : TA0 overflow is selected
b7 b6
Note: Set the corresponding port direction register to “0”.
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...