![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 129](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827129.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
129 of 1441
NXP Semiconductors
UM10503
Chapter 10: LPC43xx/LPC43Sxx Event router
10.6.2 Edge configuration register
This register works in combination with the level configuration register HILO (see
) to configure the level or edge detection for each input to the event router.
The EDGE configuration register determines whether the event router responds to a level
change (EDGEn=1), or a constant level (EDGEn=0). The HILOn bit determines a
response to a rising edge (HILOn=1) or a falling edge (HILOn=0).
When a HIGH level detect is active, the event router status bits cannot be cleared until the
signal is LOW. When a rising edge detect is active, the event router status bit can be
cleared right after the event has occurred.
Table 87.
EDGE and HILO combined register settings
HILO bit n
EDGE bit n
Description
0
0
Detect LOW level
0
1
Detect falling edge
1
0
Detect HIGH level
1
1
Detect rising edge
Table 88.
Edge configuration register (EDGE, address 0x4004 4004) bit description
Bit
Symbol
Value Description
Reset
value
0
WAKEUP0_E
Edge detect mode for WAKEUP0 event. The
corresponding bit in the EDGE register must be 0.
0
0
Level detect.
1
Edge detect of WAKEUP0 pin. Detect falling edge if bit 0
in the HILO register is 0. Detect rising edge if bit 0 in the
HILO register is 1.
1
WAKEUP1_E
Edge/level detect mode for WAKEUP1 event. The
corresponding bit in the EDGE register must be 0.
0
0
Level detect.
1
Edge detect of WAKEUP1 pin. Detect falling edge if bit 1
in the HILO register is 0. Detect rising edge if bit 1 in the
HILO register is 1.
2
WAKEUP2_E
Edge/level detect mode for WAKEUP2 event. The
corresponding bit in the EDGE register must be 0.
0
0
Level detect.
1
Edge detect of WAKEUP2 pin. Detect falling edge if bit 2
in the HILO register is 0. Detect rising edge if bit 2 in the
HILO register is 1.
3
WAKEUP3_E
Edge/level detect mode for WAKEUP3 event. The
corresponding bit in the EDGE register must be 0.
0
0
Level detect.
1
Edge detect of WAKEUP3 pin. Detect falling edge if bit
30 in the HILO register is 0. Detect rising edge if bit 3 in
the HILO register is 1.