Mcu External Interrupt; External Interrupt Configuration Registers - Fujitsu MB88121 Application Note

32-bit microcontroller
Hide thumbs Also See for MB88121:
Table of Contents

Advertisement

Error Interrupt Enable Set / Reset (EIES, EIER): Enable / disable error interrupts
Status Interrupt Enable Set / Reset (SIES, SIER) : Enable / disable status interrupts
Interrupt Line Enable (ILE): Enable interrupt lines

3.2.2 MCU external interrupt

Following show the setup and usage of the external interrupt (rising edge) for MB88121
connection.
Following registers are relevant for external interrupt:
ELVR: interrupt request level register
EIRR: interrupt request register
ENIR: interrupt request enable register
DDR: data direction register
PFR: port function register
ICR: interrupt control register

3.2.2.1 External interrupt configuration registers

Register ELVR, EIRR and ENIR specify the external interrupt function. ELVR defines how to
detect interrupt request signal. EIRR shows if an external interrupt request is detected. ENIR
enables/disables interrupt request.
register
address
EIRR0
0x30
ER7
ENIR0
0x31
EN7
0x32
LB7
ELVR0
0x33
LB3
register
address
EIRR1
0x34
ENIR1
0x35
0x36
ELVR1
0x37
© Fujitsu Microelectronics Europe GmbH
Interfacing MB91460 TO MB88121
Chapter 3 Software
External interrupt 0-7
7
6
5
ER6
ER5
EN6
EN5
15
14
13
LA7
LB6
7
6
5
LA3
LB2
External interrupt 8-14
7
6
5
\
ER14
ER13
\
EN14
EN13
15
14
13
\
\
LB14
7
6
5
\
\
LB10
Table 3-13 EIRR, ENIR ELVR overview
Bit value
4
3
ER4
ER3
EN4
EN3
12
11
LA6
LB5
4
3
LA2
LB1
Bit value
4
3
ER12
\
EN12
\
12
11
LA14
LB13
4
3
LA10
LB9
- 37 -
2
1
0
ER2
ER1
ER0
EN2
EN1
EN0
10
9
8
LA5
LB4
LA4
2
1
0
LA1
LB0
LA0
2
1
0
ER10
ER9
ER8
EN10
EN9
EN8
10
9
8
LA13
LB12
LA12
2
1
0
LA9
LB8
LA8
MCU-AN-300016-E-V10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91460

Table of Contents