GD32F403xx User Manual
154
8.5.9.
Event control register (AFIO_EC)
Address offset: 0x00
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
EOE
PORT[2:0]
PIN[3:0]
rw
rw
rw
Bits
Fields
Descriptions
31:8
Reserved
Must be kept at reset value.
7
EOE
Event output enable
Set and cleared by software. When this bit is set, the Cortex EVENTOUT output is
connected to the I/O selected by the PORT[2:0] and PIN[3:0] bits.
6:4
PORT[2:0]
Event output port selection
Set and cleared by software. Select the port to output the Cortex EVENTOUT
signal.
000: Select PORT A
001: Select PORT B
010: Select PORT C
011: Select PORT D
100: Select PORT E
3:0
PIN[3:0]
Event output pin selection
Set and cleared by software. Select the pin to output the Cortex EVENTOUT
signal.
0000: Select Pin 0
0001: Select Pin 1
0010: Select Pin 2
…
1111: Select Pin 15
8.5.10.
AFIO port configuration register 0 (AFIO_PCF0)
Address offset: 0x04
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16