R01UH0823EJ0100 Rev.1.00 Page 639 of 1823
Jul 31, 2019
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(3) Counter Restart Operation
The MTU is selected the count start operation when using the ELOPA and ELOPB registers setting of the ELC. The
ELOPA register functions MTU1 to MTU3, and ELOPB register functions MTU4. The TMDR register of the channel set
by MTU should be set to the value after reset, 00h. When the specified event is generated by the ELSRn register, then the
TCNT counter value is rewritten to initial value. When the TSTR.CSTn bit is 1, count operation can be continued. For
details on the TSTR.CSTn bit, refer to
Table 23.57.
23.8.3 Notes on MTU by Event Signal Reception from the ELC
The following describes usage notes when using MTU by the event link operation.
(1) Count Start Operation
When the specified event is generated by the ELSRn register while write cycle is performed to the TSTR.CSTn bit, the
write cycle is not performed to the TSTR.CSTn bit, and the setting to 1 takes precedence by generated event.
(2) Count Restart Operation
When the specified event is generated by the ELSRn register while write cycle is performed to the TCNT counter, the
write cycle is not performed to the TCNT counter, and count value initialization takes precedence by generated event.