Datasheet
Section 18 Timer RG
Page 636 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
18.2.4 Timer RG I/O Control Register (TRGIOR)
Address:
Bit:
Value after reset:
b7
BUFB
0
b6
IOB2
0
b5
0
b4
0
b3
BUFA
0
b2
IOA2
0
b1
0
b0
0
H'FF0649
IOB[1:0] IOA[1:0]
Bit Symbol Bit Name Description R/W
7 BUFB BRB function
select
0: BRB does not function as the GRB buffer register.
1: BRB functions as the GRB buffer register.
R/W
6 IOB2 GRB function
select
0: GRB is used as a compare match register.
1: GRB is used as an input capture register.
R/W
5, 4 IOB[1:0] GRB I/O
function select
When IOB2 = 0,
00: Disables pin output at a compare match.
01: Outputs 0 to the TGIOB pin at a GRB compare
match.
10: Outputs 1 to the TGIOB pin at a GRB compare
match.
11: Toggles the output to the TGIOB pin at a GRB
compare match.
When IOB2 = 1,
00: Input capture to GRB at the rising edge of the
TGIOB pin.
01: Input capture to GRB at the falling edge of the
TGIOB pin.
1X: Input capture to GRB at the rising and falling
edges of the TGIOB pin.
R/W