![GigaDevice Semiconductor GD32F20 Series Скачать руководство пользователя страница 135](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801135.webp)
GD32F20x User Manual
135
mode by two GPIO configuration registers (GPIOx_CTL0/GPIOx_CTL1), and two 32-bits data
registers (GPIOx_ISTAT and GPIOx_OCTL).
Table 7-1. GPIO configuration table
details.
Table 7-1. GPIO configuration table
Configuration mode
CTL[1:0]
MD[1:0]
OCTL
Input
Analog
00
00
don’t care
Input floating
01
don’t care
Input pull-down
10
0
Input pull-up
10
1
General purpose
Output (GPIO)
Push-pull
00
00: Not used
01: Speed up to 10MHz
10: Speed up to 2MHz
11: Speed up to 50MHz
0 or 1
Open-drain
01
0 or 1
Alternate Function
Output (AFIO)
Push-pull
10
don’t care
Open-drain
11
don’t care
Figure 7-1. The basic structure of a standard I/O and five-volt tolerant I/O Port
the basic structure of an I/O port bit.
Figure 7-1. The basic structure of a standard I/O and five-volt tolerant I/O Port
Vss
Vss
Output
Control
V
dd
/V
dd_FT(1)
V
dd_FT
P
o
rt
o
u
tp
u
t
c
o
n
tr
o
l r
e
g
is
te
r
P
o
rt
in
p
u
t
s
ta
tu
s
r
e
g
is
te
r
Write
Read/Write
Alternate Function Output
Read
Alternate Function Input
Analog Input
Input driver
Output driver
I/O pin
Schmitt trigger
Bit Operation/
Clear Registers
Vdd
Vss
1. V
dd_FT
dedicated for five-volt tolerant I/Os and is different from V
dd
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...