EasyManuals Logo
Home>Renesas>Microcontrollers>M16C/29 Series

Renesas M16C/29 Series User Manual

Renesas M16C/29 Series
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 #461 background imageLoading...
Page #461 background image
puorG92/C61M
22. Usage Notes
page 435
854fo7002,03.raM21.1.veR
2110-1010B90JER
22.7 Timer S
22.7.1 Rewrite the G1IR Register
Bits in the G1IR register are not automatically set to 0 (no interrupt requested) even if a requested inter-
rupt is acknowledged. Set each bit to 0 by program after the interrupt requests are verified.
The IC/OC interrupt is generated when any bit in the G1IR register is set to 1 (interrupt requested) after all
the bits are set to 0. If conditions to generate an interrupt are met when the G1IR register holds the value
other than 0016, the IC/OC interrupt request will not be generated. In order to enable an IC/OC interrupt
request again, clear the G1IR register to 0016. Use the following instructions to set each bit in the G1IR
register to 0.
Subject instructions: AND, BCL
Figure 22.3 shows an example of IC/OC interrupt i flow chart.
Interrupt
(1)
Set the G1IRi bit to 0
Set the G1IRj bit to 0
Process channel i waveform generating interrupt
Process channel j time measurement interrupt
Interrupt completed
NOTE:
1. Example for the interrupt operation when using the channel i waveform generating interrupt and
channel j time measurement interrupt.
G1IRi = 1 ?
G1IRj = 1 ?
G1IR = 0 ?
No
No
No
Yes
Yes
Yes
Figure 22.3 IC/OC Interrupt i Flow Chart

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M16C/29 Series and is the answer not in the manual?

Renesas M16C/29 Series Specifications

General IconGeneral
BrandRenesas
ModelM16C/29 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals