Datasheet

Rev.6.00 Oct.28.2004 page 353 of 1016
REJ09B0138-0600H
Channel
Bit 7
IOD3
Bit 6
IOD2
Bit 5
IOD1
Bit 4
IOD0 Description
0 0000TGR0D is Output disabled (Initial value)
1
1
0
1
output
compare
register*
2
Initial output is 0
output
0 output at compare match
1 output at compare match
Toggle output at compare
match
1 0 0 Output disabled
1 Initial output is 1 0 output at compare match
10
output
1 output at compare match
1 Toggle output at compare
match
100
1
0
1
×
TGR0D is
input
capture
register*
2
Capture input
source is
TIOCD0 pin
Input capture at rising edge
Input capture at falling edge
Input capture at both edges
1 ×× Capture input
source is channel
1/count clock
Input capture at TCNT1
count-up/count-down*
1
×: Don’t care
Notes: 1. When bits TPSC2 to TPSC0 in TCR1 are set to B'000 and ø/1 is used as the TCNT1 count clock, this setting is
invalid and input capture is not generated.
2. When the BFB bit in TMDR0 is set to 1 and TGR0D is used as a buffer register, this setting is invalid and input
capture/output compare is not generated.
Channel
Bit 7
IOB3
Bit 6
IOB2
Bit 5
IOB1
Bit 4
IOB0 Description
1 0000TGR1B is Output disabled (Initial value)
1
1
0
1
output
compare
register
Initial output is 0
output
0 output at compare match
1 output at compare match
Toggle output at compare
match
1 0 0 Output disabled
1 Initial output is 1 0 output at compare match
10
output
1 output at compare match
1 Toggle output at compare
match
100
1
0
1
×
TGR1B is
input
capture
register
Capture input
source is
TIOCB1 pin
Input capture at rising edge
Input capture at falling edge
Input capture at both edges
1 ×× Capture input
source is TGR0C
compare match/
input capture
Input capture at generation of
TGR0C compare match/input
capture
×: Don’t care