R01UH0822EJ0100 Rev.1.00
Page 363 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
19.2.21
Timer Output Control Register 1 (TOCR1A)
Note 1. Setting the TOCR1j.TOCS bit to 0 makes this bit setting valid.
Note 2. Setting the TOCR1j.TOCL bit to 1 prevents accidental modification when the CPU goes out of control.
Note 3. If dead-time is not generated, the negative-phase output is the exact inverse of the positive-phase output. In this case, only the
OLSP bit is valid.
Note 4. This bit can be set to 1 only once after a reset. After 1 is written, 0 cannot be written to the bit.
TOCR1A enables or disables PWM-synchronized toggle output in complementary PWM mode and reset-synchronized
PWM mode, and control inversion of PWM output level.
OLSP Bit (Output Level Select P)
This bit selects the positive-phase output level in reset-synchronized PWM mode and complementary PWM mode.
The initial output is selected while the counter is stopped.
OLSN Bit (Output Level Select N)
This bit selects the negative-phase output level in reset-synchronized PWM mode and complementary PWM mode.
The initial output is selected while the counter is stopped.
This bit selects either the TOCR1j or TOCR2j (j = A) setting to be used for the output level in complementary PWM
mode and reset-synchronized PWM mode.
TOCL Bit (TOC Register Write Protection)
This bit enables or disables write access to the TOCS, OLSN, and OLSP bits in TOCR1j (j = A).
PSYE Bit (PWM Synchronous Output Enable)
This bit enables or disables toggle output synchronized with the PWM period.
Address(es): MTU.TOCR1A 0009 520Eh
b7
b6
b5
b4
b3
b2
b1
b0
—
PSYE
—
—
TOCL
TOCS OLSN
OLSP
Value after reset:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
Output Level Select P*
R/W
b1
Output Level Select N*
R/W
b2
TOC Select
0: TOCR1j setting is selected (j = A)
1: TOCR2j setting is selected
R/W
b3
TOC Register Write Protection
*
0: Write access to the TOCS, OLSN, and OLSP bits is enabled
1: Write access to the TOCS, OLSN, and OLSP bits is disabled
R/W
b5, b4
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b6
PWM Synchronous Output Enable
0: Toggle output is disabled
1: Toggle output is enabled
R/W
b7
—
Reserved
This bit is read as 0. The write value should be 0.
R/W