Interrupts and events
RM0365
221/1080
DocID025202 Rev 7
13.3.7
Interrupt mask register (EXTI_IMR2)
Address offset: 0x20
Reset value: 0xFFFF FFFE (See note below)
Note:
The reset value for the reserved lines is set to ‘1’.
13.3.8 Event
mask
register (EXTI_EMR2)
Address offset: 0x24
Reset value: 0x0000 0000
Bit 31 Reserved, must be kept at reset value.
Bit 30
PRx:
Pending bit on line x (x = 30)
0: No trigger request occurred
1: Selected trigger request occurred
This bit is set when the selected edge event arrives on the external interrupt line.
This bit is cleared by writing a ‘1’ to the bit.
Bits 29:23 Reserved, must be kept at reset value.
Bits 22:0
PRx:
Pending bit on line x (x = 22 to 0)
0: No trigger request occurred
1: Selected trigger request occurred
This bit is set when the selected edge event arrives on the external interrupt line.
This bit is cleared by writing a ‘1’ to the bit.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
MR35
MR34
Res
.
MR32
rw
rw
rw
Bits 31:4 Reserved, must be kept at reset value
Bits 3:2
MRx:
Interrupt mask on external/internal line x, x = 34, 35
0: Interrupt request from Line x is masked
1: Interrupt request from Line x is not masked
Bit 1 Reserved, must be kept at reset value.
Bit 0
MRx:
Interrupt mask on external/internal line x, x = 32
0: Interrupt request from Line x is masked
1: Interrupt request from Line x is not masked
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
Res
.
MR35
MR34
Res
.
MR32
rw
rw
rw