upd78f0730 Renesas Electronics Corporation., upd78f0730 Datasheet - Page 172

no-image

upd78f0730

Manufacturer Part Number
upd78f0730
Description
8-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
NEC
Quantity:
538
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
upd78f0730MC-CAB-AX
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
6.5 Special Use of TM00
6.5.1 Rewriting CR010 during TM00 operation
prohibited while TM00 is operating (TMC003 and TMC002 = other than 00).
CR010 is used for PPG output and the duty factor is changed (change the value of CR010 immediately after its value
matches the value of TM00. If the value of CR010 is changed immediately before its value matches TM00, an
unexpected operation may be performed).
6.5.2 Setting LVS00 and LVR00
(1) Usage of LVS00 and LVR00
172
In principle, rewriting CR000 and CR010 of the
However, the value of CR010 can be changed, even while TM00 is operating, using the following procedure if
Procedure for changing value of CR010
<1> Disable interrupt INTTM010 (TMMK010 = 1).
<2> Disable reversal of the timer output when the value of TM00 matches that of CR010 (TOC004 = 0).
<3> Change the value of CR010.
<4> Wait for one cycle of the count clock of TM00.
<5> Enable reversal of the timer output when the value of TM00 matches that of CR010 (TOC004 = 1).
<6> Clear the interrupt flag of INTTM010 (TMIF010 = 0) to 0.
<7> Enable interrupt INTTM010 (TMMK010 = 0).
LVS00 and LVR00 are used to set the default value of the TO00 pin output and to invert the timer output without
enabling the timer operation (TMC003 and TMC002 = 00). Clear LVS00 and LVR00 to 00 (default value: low-
level output) when software control is unnecessary.
Remark For TMIF010 and TMMK010, see CHAPTER 13 INTERRUPT FUNCTIONS.
LVS00
0
0
1
1
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U19014EJ1V0UD
LVR00
0
1
0
1
µ
Not changed (low-level output)
Cleared (low-level output)
Set (high-level output)
Setting prohibited
PD78F0730 when they are used as compare registers is
Timer Output Status

Related parts for upd78f0730