Edge-Triggered Interrupt Using a GPIO – KBA91007
Anonymous
Not applicable
Apr 15, 2014
06:45 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Apr 15, 2014
06:45 AM
Version: **
Question: Is it possible to use one of the USB-Serial device GPIOs (CY7C65211, CY7C65213, CY7C65215) as an edge-triggered interrupt?
Answer:
No. It is not possible to use a GPIO pin as an edge-triggered interrupt input pin for USB-Serial parts (CY7C65211, CY7C65213, CY7C65215). There is no option to configure the GPIO pin as an edge-triggered interrupt using the configuration utility. Also, there is no API to detect the edge of the input GPIO waveform.
You can only poll the GPIO using the host application. There is an API [CyGetGpioValue ()] to get the current state of the GPIO. This API can be called from the host application.
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous