EasyManuals Logo

Renesas R8C/20 User Manual

Renesas R8C/20
501 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 #214 background imageLoading...
Page #214 background image
R8C/20 Group, R8C/21 Group 14. Timers
Rev.2.00 Aug 27, 2008 Page 198 of 458
REJ09B0250-0200
14.3.6.1 Changing Output Pins in Registers TRDGRCi (i = 0 or 1) and TRDGRDi
The TRDGRCi register can be used as output control of the TRDIOAi pin and the TRDGRDi register can be
used as output control of the TRDIOBi pin. Therefore, each pin output can be controlled as follows:
• TRDIOAi output is controlled by the values in the TRDGRAi and TRDGRCi registers.
• TRDIOBi output is controlled by the values in the TRDGRBi and TRDGRDi registers.
Figure 14.61 Changing Output Pins in Registers TRDGRCi and TRDGRDi
Change output pins in the TRDGRCi and TRDGRDi registers as below:
• Select 0 (change TRDGRji register output pin) by the IOj3 (j = C or D) bit in the TRDIORCi register.
• Set the BFji bit in the TRDMR register to 0 (general register).
• Set the different value in the TRDGRCi register and the TRDGRAi register. Also, set the different value in
the TRDGRDi register and the TRDGRBi register.
TRDIOA0
Output
control
Comparator TRDGRA0
TRD0
TRDIOC0
Output
control
Comparator TRDGRC0
Compare match signal
TRDIOB0
Output
control
Comparator TRDGRB0
TRDIOD0
Output
control
Comparator TRDGRD0
Channel 0
TRDIOA1
Output
Control
Comparator TRDGRA1
TRD1
TRDIOC1
Output
Control
Comparator TRDGRC1
TRDIOB1
Output
Control
Comparator TRDGRB1
TRDIOD1
Output
Control
Comparator TRDGRD1
Channel 1
Compare match signal
Compare match signal
Compare match signal
Compare match signal
Compare match signal
Compare match signal
Compare match signal
IOC3 = 0 in
TRDIORC0 register
IOC3 = 1
IOD3 = 0 in
TRDIORD0 register
IOD3 = 1
IOC3 = 0 in
TRDIORC1 register
IOC3 = 1
IOD3 = 0 in
TRDIORD1 register
IOD3 = 1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas R8C/20 Specifications

General IconGeneral
BrandRenesas
ModelR8C/20
CategoryControl Unit
LanguageEnglish

Related product manuals