Interrupt Operation; Dma Support - Renesas M16C FAMILY series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C

13.2 Interrupt Operation

The IC/OC interrupt contains several request causes. Figure 13.18 shows the IC/OC interrupt block dia-
gram and Table 13.4 shows the IC/OC interrupt assignation.
When either the base timer reset request or base timer overflow request is generated, the IR bit in the BTIC
register corresponding to the IC/OC base timer interrupt is set to "1" (with an interrupt request). Also when
an interrupt request in each eight channels (channel i) is generated, the bit i in the G1IR register is set to "1"
(with an interrupt request). At this time, if the bit i in the G1IE0 register is "1" (IC/OC interrupt 0 request
enabled), the IR bit in the ICOC0IC register corresponding to the IC/OC interrupt 0 is set to "1" (with an
interrupt request). And if the bit i in the G1IE1 register is "1" (IC/OC interrupt 1 request enabled), the IR bit
in the ICOC1IC register corresponding to the IC/OC interrupt 1 is set to "1"(with an interrupt request).
Additionally, because each bit in the G1IR register is not automatically set to "0" even if the interrupt is
acknowledged, set to "0" by program. If these bits are left as "1", all IC/OC channel interrupt causes, which
are generated after setting the IR bit to "1", will be disabled.
Interrupt Select Logic
Channel 0 to 7 Interrupt requests
All register are read / write
Base timer reset request
Base timer overflow request
Figure 13.18 IC/OC Interrupt and DMA request generation
Table 13.4 Interrupt Assignment
Interrupt
IC/OC base timer interrupt
IC/OC interrupt 0
IC/OC interrupt 1

13.3 DMA Support

Each of the interrupt sources - the eight IC/OC channel interrupts and the one Base Timer interrupt - are
capable of generating a DMA request.
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
G1IE0
ENABLE
Interrupt control register
BTIC(0047
ICOC0IC(0045
ICOC0IC(0046
page 151
f o
3
8
5
DMA Requests (channel 0 to 7)
G1IR
G1IE1
REQUEST
ENABLE
Base Timer Interrupt / DMA Request
)
16
)
16
)
16
13. Timer S
IC/OC interrupt 1 request
IC/OC interrupt 0 request
IC/OC base timer interrupt request

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents