STMPE1601TBR STMICROELECTRONICS [STMicroelectronics], STMPE1601TBR Datasheet - Page 31

no-image

STMPE1601TBR

Manufacturer Part Number
STMPE1601TBR
Description
16-bit enhanced port expander with keypad and PWM controller Xpander Logic
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STMPE1601TBR
Manufacturer:
st
Quantity:
1 712
Part Number:
STMPE1601TBR
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
STMPE1601TBR
Manufacturer:
ST
0
Part Number:
STMPE1601TBR
Manufacturer:
ST
Quantity:
20 000
STMPE1601
10.2
10.2.1
10.2.2
Hotkey feature
A GPIO is known as ‘Hotkey’ when it is configured to trigger an interruption to the host
whenever the GPIO input is being asserted. This feature is applicable in Operational mode
(4 MHz clock is present) as well as Sleep mode (32 kHz clock is present).
Programming sequence for Hotkey
1.
2.
3.
4.
5.
6.
Below are the conditions to be fulfilled in order to configure a Hot Key:
1.
2.
3.
Minimum pulse width
The minimum pulse width of the assertion of the Hotkey must be at least 62.5 us. Any pulse
width less than the stated value may not be registered.
Configure the GPIO pin into GPIO mode by setting the corresponding bits in the
GPAFR.
Configure the GPIO pin into input direction by setting the corresponding bit in GPDR.
Set the GPRER and GPFER to the desired values to enable the rising edge or falling
edge detection.
Configure and enable the interrupt controller to allow the interruption to the host.
Now, the GPIO expander may be put into Sleep mode if it is desired.
Upon any hot-key being asserted, the device will wake up and issue an interrupt to the
host.
The pin is configured into GPIO mode and as input pin.
The global interrupt mask bit is enabled.
The corresponding GPIO interrupt mask bit is enabled.
GPIO controller
31/58

Related parts for STMPE1601TBR