AT32WB415
Series Reference Manual
2022.04.13
Page 86
Ver 2.00
7.2.5.1 Hardware preemption
Certain pins are occupied by specific hardware functions regardless of the GPIO configuration.
Table 7- 2
Hardware preemption
Pin
Enable bit
Description
PA0
PWC_CTRLSTS[8] =1
Once enabled, PA0 pin acts as WKUP function of PWC.
PA11
CRM_APB1EN[23]=1
Once enabled, PA11 pin acts as USB_DM channel.
PA12
CRM_APB1EN[23]=1
Once enabled, PA12 pin acts as USB_DP channel.
PC13
CRM_APB1EN[27]=1&
(BPR_CTRL[0]=1 |
BPR_RTCCAL[
8
]
=1|
BPR_RTCCAL[
7
]
=
1)
Once enabled, PC13 pin acts as RTC channel.
PC14
CMR_BPDC[0]=1
Once enabled, PC14 pin acts as LEXT channel.
PC15
CMR_BPDC[0]=1
Once enabled, PC15 pin acts as LEXT channel.
7.2.5.2 Debug port priority
The programmed debug pins will remain its state during device debugging, regardless of their GPIO
register configuration. By doing this, can the debug port be free from disturbance imposed by other
peripherals.
To utilize more pins during this period, the above-mentioned remap configuration can be changed by
setting the SWJTAG_MUX [2:0] bit in the IOMUX_REMAP register and SWJTAG_GMUX [2:0] bit in the
IOMUX_REMAP7 register.
Table
7- 3
Debug port map
SWJTAG_MUX [2: 0] or
SWJTAG_GMUX [2: 0]
SWJI/O pin allocation
PA13/JTMS/
SWDIO
PA14/JTCK/
SWCLK
PA15/JTDI
PB3/JTDO/
TRACESWO
PB4/NJTRST
000
√
√
√
√
√
001
√
√
√
√
x
010
√
√
x
x
x
100
x
x
x
x
x
Others
-
-
-
-
-
Note:
√
indicates that this pin is forcibly allocated to debug port,while x indicates that this
pin can be released to other peripherals.
7.2.5.3 Other peripheral output priority
For other peripherals, their output priority are as follows:
Non-timer peripherals have priority over timers. In other words, when other peripherals and timers
are mapped to the same pin at the same time, the timer can not be output.
When multiple non-timer peripherals are mapped to the same pin, their output are overlapped to
this pin.
7.2.6
External interrupt/wake-up lines
Each pin can be used as an external interrupt input. The corresponding pin should be configured as
input mode.