SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 78
Version 1.1
5.3 GPIO REGISTERS
Base Address: 0x4004 4000 (GPIO 0)
0x4004 6000 (GPIO 1)
0x4004 8000 (GPIO 2)
0x4004 A000 (GPIO 3)
5.3.1 GPIO Port n Data register (GPIOn_DATA) (n=0,1,2,3)
Address offset: 0x00
Bit
Name
Description
Attribute
Reset
31:20
Reserved
R
0
19:0
DATA[19:0]
Input data (read) or output data (write) for Pn.0 to Pn.19
R/W
0
5.3.2 GPIO Port n Mode register (GPIOn_MODE) (n=0,1,2,3)
Address offset: 0x04
Note: HW will switch I/O Mode directly when Specific function (Peripheral, ADC) is enabled, not
through GPIOn_MODE register.
Bit
Name
Description
Attribute
Reset
31:20
Reserved
R
0
19:0
MODE[19:0]
Select pin x as input or output (x = 0 to 19)
0: Pn.x is configured as input
1: Pn.x is configured as output.
R/W
0
5.3.3 GPIO Port n Configuration register (GPIOn_CFG) (n=0,1,2,3)
Address offset: 0x08
Reset value: 0xAAAAAAAA
Note: HW will switch I/O Mode directly when Specific function (Peripheral, ADC) is enabled, not
through GPIOn_MODE register.
Bit
Name
Description
Attribute
Reset
31:30
CFG15[1:0]
Configuration of Pn.15
00: Pull-up resistor enabled.
01: Reserved
10: Inactive (no pull-down/up resistor enabled, Schmitt trigger enabled).
11: Inactive (no pull-down/up resistor enabled, Schmitt trigger disabled,
Data register keep low)
R/W
10b
29:28
CFG14[1:0]
Configuration of Pn.14
00: Pull-up resistor enabled.
01: Reserved
10: Inactive (no pull-down/up resistor enabled, Schmitt trigger enabled).
11: Inactive (no pull-down/up resistor enabled, Schmitt trigger disabled,
Data register keep low)
R/W
10b
Содержание SN32F280 Series
Страница 222: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 222 Version 1 1 A1D16...
Страница 263: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 263 Version 1 1 26 2 LQFP 64 PIN...
Страница 264: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 264 Version 1 1 26 3 LQFP 48 PIN...