SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 80
Version 1.1
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)
3:2
CFG1[1:0]
Configuration of Pn.1
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
1:0
CFG0[1:0]
Configuration of Pn.0
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
5.3.4 GPIO Port n Interrupt Sense register (GPIOn_IS) (n=0,1,2,3)
Address offset: 0x0C
Bit
Name
Description
Attribute
Reset
31:20
Reserved
R
0
19:0
IS[19:0]
Select the interrupt on pin x as level or edge sensitive (x = 0 to 19).
0: Interrupt on Pn.x is configured as edge sensitive.
1: Interrupt on Pn.x is configured as event sensitive.
R/W
0
5.3.5 GPIO Port n Interrupt Both-edge Sense register (GPIOn_IBS) (n=0,1,2,3)
Address offset: 0x10
Bit
Name
Description
Attribute
Reset
31:20
Reserved
R
0
19:0
IBS[19:0]
Select the interrupt on Pn.x to be triggered on both edges (x = 0 to 19).
0: Interrupt on Pn.x is controlled through register GPIOn_IEV.
1: Both edges on Pn.x trigger an interrupt.
R/W
0
5.3.6 GPIO Port n Interrupt Event register (GPIOn_IEV) (n=0,1,2,3)
Address offset: 0x14
Bit
Name
Description
Attribute
Reset
31:20
Reserved
R
0
19:0
IEV[19:0]
Select the interrupt on pin x to be triggered rising or falling edges (x = 0 to
19).
0: Depending on setting in register GPIOn_IS, Rising edges or HIGH level
on Pn.x trigger an interrupt.
1: Depending on setting in register GPIOn_IS, Falling edges or LOW level
on Pn.x trigger an interrupt.
R/W
0
5.3.7 GPIO Port n Interrupt Enable register (GPIOn_IE) (n=0,1,2,3)
Address offset: 0x18
Bits set to HIGH in the GPIOn_IE register allow the corresponding pins to trigger their individual interrupts. Clearing a bit
disables interrupt triggering on that pin.
Содержание 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...