171
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
0: No remapping (SCL/PB6, SDA/PB7);
1: Remapping (SCL/PB8, SDA/PB9).
0
SPI1_RMP_0
Remapping of SPI1
This bit can be set to '1' or set to '0' by software and used in conjunction with
SPI1_RMP_1 to form SPI1_RMP[1:0] to control the image of SPI1's NSS, SCK,
MISO and MOSI alternate functions on the GPIO port.
00: No remapping (NSS/PA4, SCK/PA5, MISO/PA6, MOSI/PA7);
01: Remapping (NSS/PA15, SCK/PB3, MISO/PB4, MOSI/PB5);
10: Remapping (NSS/PB2, SCK/PA5, MISO/PA6, MOSI/PA7);
11: Remapping (NSS/PB2, SCK/PE7, MISO/PE8, MOSI/PE9);
7.4.4
AFIO external interrupt configuration register 1(AFIO_EXTI_CFG1)
Address offset: 0x08
Reset value: 0x0000 0000
Bit field
Name
Description
31:16
Reserved
Reserved, the reset value must be maintained.
15:0
EXTIx_CFG[3:0]
EXTIx configuration (x = 0… 3)
These bits can be read and written by software and used to select the input source of
the EXTIx external interrupt.
EXTI0 configuration
:
0000: PA0 pin 0001: PB0 pin 0010: PC0 pin
0011: PD0 pin 0100: PE0 pin 0101: Reserved
0110: PG0 pin
EXTI1 configuration
:
0000: PA1 pin 0001: PB1 pin 0010: PC1 pin
0011: PD1 pin 0100: PE1 pin 0101: PF1 pin
0110: PG1 pin
EXTI2 configuration
:
0000: PA2 pin 0001: PB2 pin 0010: PC2 pin
0011: PD2 pin 0100: PE2 pin 0101: PF2 pin
0110: PG2 pin
EXTI3 configuration
:
0000: PA3 pin 0001: PB3 pin 0010: PC3 pin
0011: PD3 pin 0100: PE3 pin 0101: PF3 pin