Hitachi H8/3048 Hardware Manual page 337

Single-chip microcomputer
Table of Contents

Advertisement

Bit
www.DataSheet4U.com
Initial value
Read/Write
Reserved bit
Each TIOR is an 8-bit readable/writable register that selects the output compare or input capture
function for GRA and GRB, and specifies the functions of the TIOCA and TIOCB pins. If the
output compare function is selected, TIOR also selects the type of output. If input capture is
selected, TIOR also selects the edge or edges of the input capture signal.
TIOR is initialized to H'88 by a reset and in standby mode.
Bit 7—Reserved: Read-only bit, always read as 1.
Bits 6 to 4—I/O Control B2 to B0 (IOB2 to IOB0): These bits select the GRB function.
Bit 6
Bit 5
IOB2
IOB1
0
0
1
1
0
1
Notes: 1. After a reset, the output is 0 until the first compare match.
2. Channel 2 output cannot be toggled by compare match. This setting selects 1 output
instead.
7
6
5
IOB2
IOB1
1
0
0
R/W
R/W
I/O control B2 to B0
These bits select GRB functions
Bit 4
IOB0
Function
0
GRB is an output
compare register
1
0
1
GRB is an input
0
capture register
1
0
1
4
3
2
IOB0
IOA2
0
1
0
R/W
R/W
I/O control A2 to A0
These bits select GRA
functions
Reserved bit
No output at compare match
0 output at GRB compare match
1 output at GRB compare match
Output toggles at GRB compare match
(1 output in channel 2)
GRB captures rising edge of input
GRB captures falling edge of input
GRB captures both edges of input
325
0
1
IOA1
IOA0
0
0
R/W
R/W
(Initial value)
*1
*1
*1, *2

Advertisement

Table of Contents
loading

Table of Contents