
306
•
Bits 3–0—I/O Control C3–C0 (IOC3–IOC0): These bits set the TGR4C register function.
Bit 3:
IOC3
Bit 2:
IOC2
Bit 1:
IOC1
Bit 0:
IOC0
Description
0
0
0
0
TGR4C
Output disabled (initial value)
1
is an
Initial
Output 0 on compare-match
1
0
output
output
Output 1 on compare-match
1
compare
is 0
Toggle output on compare-match
1
0
0
register
Output disabled
1
Initial
Output 0 on compare-match
1
0
output
Output 1 on compare-match
1
is 1
Toggle output on compare-match
1
0
0
0
TGR4C
Capture
Input capture on rising edge
1
is an
input source
Input capture on falling edge
1
0
input
is the
Input capture on both edges
1
capture
TIOC4C pin
1
0
0
register
Input capture on rising edge
1
Input capture on falling edge
1
0
Input capture on both edges
1
Note:
When the BFA bit of TMDR4 is set to 1 and TGR4C is being used as a buffer register, these
settings become ineffective and input capture/output compares do not occur.
12.2.4
Timer Interrupt Enable Register (TIER)
The TIER is an 8-bit register that controls the enable/disable of interrupt requests for each channel.
The MTU has five TIER registers, one each for channel. TIER is initialized to H'40 by a reset or
by standby mode.
Channel 0: TIER0:
Bit:
7
6
5
4
3
2
1
0
TTGE
—
—
TCIEV
TGIED
TGIEC
TGIEB
TGIEA
Initial value:
0
1
0
0
0
0
0
0
R/W:
R/W
R
R
R/W
R/W
R/W
R/W
R/W
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...