Datasheet

Section 14 Timer RB
REJ09B0465-0300 Rev. 3.00 Page 431 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
Figure 14.2 shows an operation example of the timer RB in programmable waveform generation
mode.
TRBIF in TRBIR
Count source
Timer RB prescaler
underflow signal
Timer RB counter
TRBO pin output
TOPL in TRBIOC
Set to 1 by a program.
Conditions for the above operation:
TSTART in TRBCR
"1"
"0"
"1"
"0"
"1"
"0"
"1"
"0"
H'00
Set to 0 by a program
TRBPRE=H'01, TRBPR=H'01, TRBSC=H'02
TOCNT = 0 in TRBIOC (Timer RB waveform is output from the TRBO pin.)
H'01 H'00 H'00
Primary period Primary periodSecondary period
Waveform output is started. Waveform output is inverted.
Timer RB
secondary reload
Timer RB
primary reload
Set to 0 by a program.
Waveform output is started
H'01 H'02 H'01 H'02
Figure 14.2 Operation in Programmable Waveform Generation Mode