![ARTERY AT32F435 Series Скачать руководство пользователя страница 133](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592133.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 133
Rev 2.03
Table 6-8 Port H multiplexed function configuration with GPIOH_MUX* register
Pin
MUX0
MUX1
MUX2
MUX3
MUX4
MUX5
MUX6
MUX7
PH0
I2C1_SDA
PH1
I2C1_SCL
PH2
TMR5_CH1
I2C2_SCL
PH3
TMR5_CH2
I2C2_SDA
Pin
MUX8
MUX9
MUX10
MUX11
MUX12
MUX13
MUX14
MUX15
PH0
EVENTOUT
PH1
EVENTOUT
PH2
UART4_RX
QSPI1_IO0
EVENTOUT
PH3
UART4_TX
QSPI1_IO1
EVENTOUT
6.2.10 Peripheral MUX function configuration
IOMUX function configuration as follows:
To use a peripheral pin in MUX output, it is configured as multiplexed push-pull/open-drain output.
To use a peripheral pin in MUX input, it is configured as multiplexed mode (floating/pull-up/pull-
down).
For ADC peripherals, the pins of analog channels should be configured as analog input/output mode.
For I2C peripherals that intend to use pins as bidirectional functions, open-drain mode is required.
For USB OTGFS_ID pin, configure corresponding IOMUX and enable corresponding
clocks in CRM, there is no need of GPIO status configuration
6.2.11 IOMUX map priority
The unique peripheral multiplexed function can be configured through the GPIOx_MUXL/GPIOx_MUXH
register, except individual pins that may be directly owned by hardware.
Some pins have been directly owned by specific hardware feature, whatever GPIO configuration.
Table 6-9 Pins owned by hardware
Pin
Enable bit
Description
PA0
PWC_CTRLSTS[8] =1
Once enabled, PA0 pin acts as WKUP function of PWC.
PA0
(ERTC_CTRL[11]=1&
ERTC_TAMP[17]=1)|
(ERTC_TAMP[0]=1&
ERTC_TAMP[16]=1)|
(ERTC_TAMP[3]=1)
Once enabled, PA0 pin is used as TAMPER2_BPR
PA4
DAC_CTRL[2] =1
Once enabled, PA4 pin acts as DAC1 analog channel.
PA5
DAC_CTRL[18] =1
Once enabled, PA5 pin acts as DAC2 analog channel.
PC13
PWC_CTRLSTS[9] = 1
Once enabled, PA0 pin acts as WKUP2 function of PWC.
PC13
(ERTC_CTRL[23]=1)|
(ERTC_CTRL[22:21]!=00)|
(ERTC_CTRL[11]=1&
ERTC_TAMP[17]=0)|
(ERTC_TAMP[0]=1&
ERTC_TAMP[16]=0)
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 &
CMR_BPDC[2]=0
Once enabled, PC15 pin acts as LEXT channel.
PH0
CMR_CTRL[16]=1
Once enabled, PH0 pin acts as HEXT channel.
PH1
CMR_CTRL[16]=1&
CMR_CTRL[18]=0
Once enabled, PH1 pin acts as HEXT channel.