External Interrupts - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

External interrupts 8 - 15

Detect level setting
LB8, LA8
LB9, LA9
LB10, LA10
LB11, LA11
LB12, LA12
LB13, LA13
LB14, LA14
LB15, LA15
0
0
1
Detect at
1
0
Detect at the rising edge
1
1
Detect at the falling edge
INT8/RX0/P23.0
INT9/RX1/P23.2
Pins
INT10/RX2/P23.4
INT11/RX3/P23.6
INT12/RX4/P22.0
INT13/RX5/P22.2
INT14/SDA0/P22.4
INT15/SDA1/P22.6
1
0
RX0
PFR23: bit0
P23.0
RX1
PFR23: bit2
P23.2
RX2
PFR23: bit4
P23.4
RX3
PFR23: bit6
P23.6
RX4
PFR22: bit0
P22.0
RX5
PFR22: bit2
P22.2
SDA0
PFR22: bit4
P22.4
SDA1
PFR22: bit6
P22.6
0
General-purpose port
Peripheral
1
Figure 3-2 Configuration Diagram
ELVR1 : bit 1-0,
ELVR1 : bit 3-2,
ELVR1 : bit 5-4,
ELVR1 : bit 7-6,
ELVR1 : bit 9-8,
ELVR1 : bit 11-10,
ELVR1 : bit 13-12,
ELVR1 : bit 15-14
External interrupt request flag
Detect at
"L"
level
ER0,
EIRR1: bit n0
"H"
level
ER1,
EIRR1: bit n1
ER2,
EIRR1: bit n2
ER3,
EIRR1: bit n3
ER4,
EIRR1: bit n4
ER5,
EIRR1: bit n5
ER6,
EIRR1: bit n6
ER7
EIRR1: bit n7
Edge detection circuit
0
No interrupt requests
1
Interrupt request present
(Inputs of other peripheral
WRITE 0: Flag clear
function macros)
Read of the port
(Outputs of other peripheral function macros)
From the port data register
External
interrupt
DDR23: bit0
DDR23: bit2
8
DDR23: bit4
9
DDR23: bit6
10
DDR22: bit0
11
DDR22: bit2
12
DDR22: bit4
13
DDR22: bit6
Input only
14
0
15
1
Enable output
Figure 3-3 Register List
External interrupt request enable flag
EN0,
ENIR1 : bit 0
EN1,
ENIR1 : bit 1
EN2,
ENIR1 : bit 2
EN3,
ENIR1 : bit 3
EN4,
ENIR1 : bit 4
EN5,
ENIR1 : bit 5
EN6,
ENIR1 : bit 6
EN7
ENIR1 : bit 7
0
Disable interrupts
1
Enable interrupts
Interrupt request
(#24, #25, #26, #27
#28, #29, #30, #31)
External interrupt
External
Enable external
Interrupt
request level
interrupt
interrupt
number
request bit
setting bit
requests
LB8, LA8
ER8
EN8
#24
LB9, LA9
ER9
EN9
#25
LB10, LA10
ER10
EN10
#26
LB11, LA11
ER11
EN11
#27
LB12, LA12
ER12
EN12
#28
LB13, LA13
ER13
EN13
#29
LB14, LA14
ER14
EN14
#30
LB15, LA15
ER15
EN15
#31
Chapter 25 External Interrupt
3.Configuration
Port
The data
Pins
direction bit
function
INT8
P23.0
RX0
P23.2
INT9
RX1
P23.4
RX2
INT10
P23.6
RX3
INT11
RX4
INT12
P22.0
P22.2
INT13
RX5
P22.4
INT14
SDA0
P22.6
SDA1
INT15
323

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents