EasyManuals Logo

Renesas RL78/F13 User Manual

Renesas RL78/F13
1879 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #663 background imageLoading...
Page #663 background image
RL78/F13, F14 CHAPTER 8 TIMER RD
R01UH0368EJ0210 Rev.2.10 631
Dec 10, 2015
(2) Changing Output Pins in Registers TRDGRCi (i = 0 or 1) and TRDGRDi
The TRDGRCi register can be used for output control of the TRDIOAi pin, and the TRDGRDi register can be used
for output control of the TRDIOBi pin. Therefore, each pin output can be controlled as follows:
ï‚· TRDIOAi output is controlled by the values in registers TRDGRAi and TRDGRCi.
ï‚· TRDIOBi output is controlled by the values in registers TRDGRBi and TRDGRDi.
Figure 8-50. Changing Output Pins in Registers TRDGRCi and TRDGRDi
Change output pins in registers TRDGRCi and TRDGRDi as follows:
• Select 0 (TRDGRji register output pin is changed) using the IOj3 (j = C or D) bit in the TRDIORCi register.
• Set the TRDBFji bit in the TRDMR register to 0 (general register).
• Set different values in registers TRDGRCi and TRDGRAi. Also, set different values in registers TRDGRDi and
TRDGRBi.
TRDIOA0
Comparator
TRDGRA0
TRD0
TRDIOC0
TRDGRC0
Compare match signal
Compare match signal
Compare match signal
Compare match signal
Compare match signal
Compare match signal
Compare match signal
Compare match signal
TRDIOB0
TRDGRB0
TRDIOD0
TRDGRD0
TRDIOA1
TRDGRA1
TRD1
TRDIOC1
TRDGRC1
TRDIOB1
TRDGRB1
TRDIOD1
TRDGRD1
IOC3 = 1
IOD3 = 1
IOC3 = 1
IOD3 = 1
Timer RD0
Output
control
Output
control
Output
control
Output
control
Output
control
Output
control
Output
control
Output
control
IOC3 = 0 in
TRDIORC0 register
IOD3 = 0 in
TRDIORC0 register
IOC3 = 0 in
TRDIORC1 register
IOD3 = 0 in
TRDIORC1 register
Timer RD1
Comparator
Comparator
Comparator
Comparator
Comparator
Comparator
Comparator

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/F13 and is the answer not in the manual?

Renesas RL78/F13 Specifications

General IconGeneral
BrandRenesas
ModelRL78/F13
CategoryComputer Hardware
LanguageEnglish

Related product manuals