UPD78F0078GK-9ET-A Renesas Electronics America, UPD78F0078GK-9ET-A Datasheet - Page 173

no-image

UPD78F0078GK-9ET-A

Manufacturer Part Number
UPD78F0078GK-9ET-A
Description
Manufacturer
Renesas Electronics America
Datasheet

Specifications of UPD78F0078GK-9ET-A

Lead Free Status / Rohs Status
Supplier Unconfirmed

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
UPD78F0078GK-9ET-A
Quantity:
57
8.4.4 Square-wave output operation
16-bit timer capture/compare register 00n (CR00n).
bit 0 (TOE0n) and bit 1 (TOC01n) of 16-bit timer output control register 0n (TOC0n) to 1. This enables a square wave
with any selected frequency to be output.
The basic operation setting procedure is as follows.
<1> Set the count clock by using the PRM0n register.
<2> Set the CRC0n register (see Figure 8-32 for the set value).
<3> Set the TOC0n register (see Figure 8-32 for the set value).
<4> Set any value to the CR00n register (0000H cannot be set).
<5> Set the TMC0n register to start the operation (see Figure 8-32 for the set value).
Remarks 1. For the setting of the TO0n pin, see 8.3 (5) Port mode register 7 (PM7).
A square wave with any selected frequency can be output at intervals determined by the count value preset to
The TO0n pin output status is reversed at intervals determined by the count value preset to CR00n + 1 by setting
Remark n = 0, 1
TMC0n
Setting
CRC0n
7
0
2. For how to enable the INTTM00n interrupt, see CHAPTER 19 INTERRUPT FUNCTIONS.
7
0
Figure 8-32. Control Register Settings in Square-Wave Output Mode (1/2)
6
0
6
0
5
0
5
0
CHAPTER 8 16-BIT TIMER/EVENT COUNTERS 00, 01
(a) 16-bit timer mode control register 0n (TMC0n)
(b) Capture/compare control register 0n (CRC0n)
4
0
4
0
TMC0n3
1
3
0
TMC0n2
CRC02n
0/1
1
User’s Manual U14260EJ4V0UD
CRC01n
0/1
1
0
OVF0n
CRC00n
0
0
Clears and starts on match between TM0n and CR00n.
CR00n used as compare register
171

Related parts for UPD78F0078GK-9ET-A