![ARTERY AT32WB415 Series Скачать руководство пользователя страница 99](http://html1.mh-extra.com/html/artery/at32wb415-series/at32wb415-series_reference-manual_2977599099.webp)
AT32WB415
Series Reference Manual
2022.04.13
Page 99
Ver 2.00
8.3.4
Polarity configuration register2 (EXINT_ POLCFG2)
Bit
Register
Reset value
Type
Description
Bit 31: 23 Reserved
0x000
resd
Forced to be 0 by hardware.
Bit 22: 0
FPx
0x00000
rw
Falling polarity configuration bit on line x
These bits are used to select a falling edge to trigger an
interrupt and event on line x.
0: Falling trigger on line x is disabled.
1: Falling trigger on line x is enabled..
8.3.5
Software trigger register (EXINT_ SWTRG)
Bit
Register
Reset value
Type
Description
Bit 31: 23 Reserved
0x000
resd
Forced to 0 by hardware.
Bit 22: 0
SWTx
0x00000
rw
Software triggle on line x
If the corresponding bit in EXINT_INTEN register is 1, the
software writes to this bit. The hardware sets the
corresponding bit in the EXINT_INTSTS automatically to
generate an interrupt.
If the corresponding bit in the EXINT_EVTEN register is 1,
the software writes to this bit. The hardward generates an
event on the corresponding interrupt line automatically.
0: Default value
1: Sotware trigger generated
Note: This bit is cleared by writing 1 to the corresponding
bit in the EXINT_INTSTS register.
8.3.6
Interrupt status register (EXINT_ INTSTS)
Bit
Register
Reset value
Type
Description
Bit 31: 23 Reserved
0x000
resd
Forced to 0 by hardware.
Bit 22: 0
LINEx
0x00000
rw
Line x status bit
0: No interrupt occurred.
1: Interrupt occurred.
Note: This bit can be cleared by writing “1” to itself.