Datasheet

Section 18 Timer RG
REJ09B0465-0300 Rev. 3.00 Page 643 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
18.3 Operation
Timer RG has the following operating modes.
Timer mode (the waveform output function by a compare match, and the input-capture
function)
PWM mode
Phase counting mode
The TGIOA and TGIOB pins indicate the functions by each register setting.
TGIOA pin
Register
Name PMR PCR TRGMDR TRGIOR
Bit Name PMR PCR PWM
IOA2 to
IOA0 Function
X 1 XXX PWM mode waveform output
X 0 001,
01X
Timer mode waveform output (output compare
function)
1
0 0 1XX Timer mode (input capture function)
1 X XXX General output port 0
0 X XXX General input port
Setting
values
Other than the above Setting prohibited
[Legend]
X: Don't care.