Datasheet

Section 14 Timer RB
Page 438 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
14.3.6 TOCNT Settings and Pin State Update Conditions
Depending on the TOCNT bit in TRBIOC and the corresponding bit in PMR, the user can select
whether the pin is used as a general I/O port or as a specific timer waveform output. In the case of
timer mode, however, the pin operates as a general I/O port, irrespective of TOCNT bit settings.
When the TOCNT bit is rewritten, the pin state is not updated immediately; the change takes
effect when either of the following conditions occurs:
Pin state update conditions:
When the TSTART bit in TRBCR is changed from 0 to 1
When TRBPR is reloaded to the counter