Configuration - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

Chapter 25 External Interrupt
3.Configuration

3. Configuration

External interrupts 0 - 7
INT0/P24.0
INT1/P24.1
Pins
INT2/P24.2
INT3/P24.3
INT4/SDA2/P24.4
INT5/SCL2/P24.5
INT6/SDA3/P24.6
INT7/SCL3/P24.7
SDA2
PFR24: bit4
SCL2
PFR24: bit5
SDA3
PFR24: bit6
SCL3
PFR24: bit7
0
General-purpose port
Peripheral
1
322
Figure 3-1 Configuration Diagram
Detect level setting
LB0, LA0
ELVR0 : bit 1-0,
LB1, LA1
ELVR0 : bit 3-2,
LB2, LA2
ELVR0 : bit 5-4,
LB3, LA3
ELVR0 : bit 7-6,
LB4, LA4
ELVR0 : bit 9-8,
LB5, LA5
ELVR0 : bit 11-10,
LB6, LA6
ELVR0 : bit 13-12,
LB7, LA7
ELVR0 : bit 15-14,
"L"
0
Detect at
level
0
1
Detect at
"H"
level
1
0
Detect at the rising edge
1
1
Detect at the falling edge
Edge detection circuit
(Inputs of other peripheral
function macros)
Read of the port
1
(Outputs of other peripheral function macros)
From the port data register
0
P24.0
DDR24: bit0
P24.1
DDR24: bit1
P24.2
DDR24: bit2
P24.3
DDR24: bit3
P24.4
DDR24: bit4
P24.5
DDR24: bit5
P24.6
DDR24: bit6
P24.7
DDR24: bit7
0
Input only
1
Enable output
External interrupt request enable flag
EN0,
ENIR0 : bit 0
EN1,
ENIR0 : bit 1
EN2,
ENIR0 : bit 2
EN3,
ENIR0 : bit 3
EN4,
ENIR0 : bit 4
EN5,
ENIR0 : bit 5
External interrupt request flag
EN6,
ENIR0 : bit 6
EN7
ENIR0 : bit 7
ER0,
EIRR0: bit n0
ER1,
EIRR0: bit n1
0
Disable interrupts
ER2,
EIRR0: bit n2
ER3,
EIRR0: bit n3
1
Enable interrupts
ER4,
EIRR0: bit n4
0
ER5,
EIRR0: bit n5
ER6,
EIRR0: bit n6
ER7
EIRR0: bit n7
0
No interrupt requests
1
1
Interrupt request present
WRITE 0: Flag clear
External interrupt
External
Enable external
External
interrupt
request level
interrupt
interrupt
setting bit
request bit
requests
0
LB0, LA0
ER0
EN0
1
LB1, LA1
ER1
EN1
2
LB2, LA2
ER2
EN2
3
LB3, LA3
ER3
EN3
4
LB4, LA4
ER4
EN4
5
LB5, LA5
ER5
EN5
LB6, LA6
ER6
EN6
6
7
LB7, LA7
ER7
EN7
Interrupt request
(#16, #17, #18, #19,
#20, #21, #22, #23)
Port
Interrupt
The data
Pins
number
direction bit
function
---
INT0
#16
P24.0
#17
P24.1
INT1
---
#18
P24.2
---
INT2
---
#19
P24.3
INT3
SDA2
INT4
#20
P24.4
#21
P24.5
SCL2
INT5
#22
P24.6
SDA3
INT6
#23
P24.7
SCL3
INT7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents