Renesas M16C/6NK Hardware Manual page 115

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
Interrupt Request Cause Select Register 2
b7
b6
b5
b4
b3
b2
NOTES:
1.When setting this bit to "1" (both edges), make sure the POL bit in the INT6IC to INT8IC registers are
set to "0" (falling edge). The INT6IC to INT8IC registers are only in the 128-pin version.
In the 100-pin version, make sure the INT6 to INT8 interrupt polarity switching bitis set to "0" (falling edge).
2.Timer A2 and INT7 share the vector and interrupt control register.
When using the timer A2 interrupt, set the IFSR20 bit to "0" (Timer A2). When using INT7 interrupt,
set the IFSR20 bit to "1" (INT7).
The INT7 interrupt is only in the 128-pin version. In the 100-pin version, set the IFSR20 bit to "0" (Timer A2).
3.Timer A3 and INT6 share the vector and interrupt control register.
When using the timer A3 interrupt, set the IFSR21 bit to "0" (Timer A3). When using INT6 interrupt,
set the IFSR21 bit to "1" (INT6).
The INT6 interrupt is only in the 128-pin version. In the 100-pin version, set the IFSR21 bit to "0" (Timer A3).
4.Timer B1 and INT8 share the vector and interrupt control register.
When using the timer B1 interrupt, set the IFSR22 bit to "0" (Timer B1). When using INT8 interrupt,
set the IFSR22 bit to "1" (INT8).
The INT8 interrupt is only in the 128-pin version. In the 100-pin version, set the IFSR22 bit to "0" (Timer B1).
5.When the PCLK6 bit in the PCLKR register = 1, CAN0/1 error and key input share the vector and
interrupt control register. When using the CAN0/1 error interrupt, set the IFSR26 bit to "0" (CAN0/1
error). When using the key input interrupt, set the IFSR26 bit to "1" (key input).
6.When using the INT6 to INT8 interrupts, set these bits after settig the PU37 bit in the PUR3 register to "1".
Figure 10.13 IFSR2 Register
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
b1
b0
Symbol
IFSR2
Bit Symbol
Interrupt Request Cause
IFSR20
Select Bit
Interrupt Request Cause
IFSR21
Select Bit
Interrupt Request Cause
IFSR22
Select Bit
INT6 Interrupt Polarity
IFSR23
Switching Bit
INT7 Interrupt Polarity
IFSR24
Switching Bit
INT8 Interrupt Polarity
IFSR25
Switching Bit
Interrupt Request Cause
IFSR26
Select Bit
-
Nothing is assigned. When write, set to "0".
(b7)
When read, its content is indeterminate.
page 97 of 378
Address
After Reset
01CFh
X0000000b
Bit Name
0 : Timer A2
(2) (6)
1 : INT7
0 : Timer A3
(3) (6)
1 : INT6
0 : Timer B1
(4) (6)
1 : INT8
0 : One edge
(1) (6)
1 : Both edges
0 : One edge
(1) (6)
1 : Both edges
0 : One edge
(1) (6)
1 : Both edges
0 : CAN0/1 error
(5)
1 : key input
10. Interrupt
RW
Function
RW
RW
RW
RW
RW
RW
RW
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents