
CH32V003
Reference Manual
V1.3
60
00: Default mapping (CH1/ETR/PD4, CH2/PD3,
CH3/PC0, CH4/PD7).
01: Partial mapping (CH1/ETR/PC5, CH2/PC2,
CH3/PD2, CH4/PC1).
10: Partial mapping (CH1/ETR/PC1, CH2/PD3,
CH3/PC0, CH4/PD7).
11:
Complete
mapping
(CH1/ETR/PC1,
CH2/PC7, CH3/PD6, CH4/PD5).
[7:6]
TIM1RM
RW
Remap bits for timer 1. These bits can be read and
written by the user.
It controls the mapping of channels 1 to 4, 1N to
3N, external trigger (ETR) and brake input
(BKIN) of timer 1 to the GPIO ports.
00: Default mapping (ETR/PC5, CH1/PD2,
CH2/PA1, CH3/PC3, CH4/PC4, BKIN/PC2,
CH1N/PD0, CH2N/PA2, CH3N/PD1).
01: Partial mapping (ETR/PC5, CH1/PC6,
CH2/PC7, CH3/PC0, CH4/PD3, BKIN/PC1,
CH1N/PC3, CH2N/PC4, CH3N/PD1).
10: Partial mapping (ETR/PD4, CH1/PD2,
CH2/PA1, CH3/PC3, CH4/PC4, BKIN/PC2,
CH1N/PD0, CH2N/PA2, CH3N/PD1).
11: Complete mapping (ETR/PC2, CH1/PC4,
CH2/PC7, CH3/PC5, CH4/PD4, BKIN/PC1,
CH1N/PC3, CH2N/PD2, CH3N/PC6).
0
[5:3]
Reserved
RO Reserved
0
2
USART1_RM
RW
USART1 mapping configuration low bit (used in
conjunction with AFIO PCFR1 register bit21
USART1REMAP1 [21,2]).
00: Default mapping (CK/PD4, TX/PD5,
RX/PD6, CTS/PD3, RTS/PC2, SW_RX/PD5).
01: Remapping (CK/PD7, TX/PD0, RX/PD1,
CTS/PC3, RTS/PC2, SW_RX/PD0).
10: Remapping (CK/PD7, TX/PD6, RX/PD5,
CTS/PC6, RTS/PC7, SW_RX/PD6).
11: Remapping (CK/PC5, TX/PC0, RX/PC1,
CTS/PC6, RTS/PC7, SW_RX/PC0).
0
1
I2C1RM
RW
I2C1 remapping low bit (used in conjunction with
AFIO_PCFR1 register bit22 I2C1_RM1 [22,1]).
00: Default mapping (SCL/PC2, SDA/PC1).
01: Remapping (SCL/ PD1, SDA/ PD0).
1X: Remapping (SCL/PC5, SDA/PC6)
0
0
SPI1RM
RW
Remapping of SPI1. This bit can be read or written
by the user. It controls the mapping of SPI1's NSS,
SCK, MISO, and MOSI multiplexing functions to
the GPIO ports.
0: Default mapping (NSS/PC1, CK/PC5,
MISO/PC7, MOSI/PC6).
1: Remapping (NSS/PC0, CK/PC5, MISO/PC7,
MOSI/PC6).
0
7.3.2.2 External interrupt configuration register 1 (AFIO_EXTICR)
Offset address: 0x08
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