MC-78F0712-KIT Renesas Electronics America, MC-78F0712-KIT Datasheet - Page 144

no-image

MC-78F0712-KIT

Manufacturer Part Number
MC-78F0712-KIT
Description
KIT REF SYSTEM 78K0 UPD78F0712
Manufacturer
Renesas Electronics America
Datasheets

Specifications of MC-78F0712-KIT

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
7.4.5
bit timer capture/compare register 00 (CR00).
0 (TOE00) and bit 1 (TOC001) of 16-bit timer output control register 00 (TOC00) to 1. This enables a square wave
with any selected frequency to be output.
142
The basic operation setting procedure is as follows.
<1> Set the count clock by using the PRM00 register.
<2> Set the CRC00 register (see Figure 7-29 for the set value).
<3> Set the TOC00 register (see Figure 7-29 for the set value).
<4> Set any value to the CR00 register (0000H cannot be set).
<5> Set the TMC00 register to start the operation (see Figure 7-29 for the set value).
Caution CR00 cannot be rewritten during TM00 operation.
Remarks 1. For the setting of the TO00 pin, see 7.3 (5) Port mode register 5 (PM5).
A square wave with any selected frequency can be output at intervals determined by the count value preset to 16-
The TO00 pin output status is reversed at intervals determined by the count value preset to CR00 + 1 by setting bit
TMC00
CRC00
Setting
Square-wave output operation
7
0
7
0
2. For how to enable the INTTM00 interrupt, see CHAPTER 16 INTERRUPT FUNCTIONS.
6
0
6
0
Figure 7-29. Control Register Settings in Square-Wave Output Mode (1/2)
5
0
5
0
4
0
4
0
(a) 16-bit timer mode control register 00 (TMC00)
(b) Capture/compare control register 00 (CRC00)
CHAPTER 7 16-BIT TIMER/EVENT COUNTER 00
TMC003
1
3
0
TMC002
CRC002
0/1
1
User’s Manual U17890EJ2V0UD
TMC001
CRC001
0/1
0
CRC000
OVF00
0
0
Clears and starts on match between TM00 and CR00.
CR00 used as compare register

Related parts for MC-78F0712-KIT