Renesas M30245 Series User Manual page 21

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

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents