Anonymous
Not applicable
Mar 10, 2016
01:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 10, 2016
01:22 AM
Hello All,
I have connected a push button at the wakeup pin P2.2 of PRoC IC. How to enable the wakeup interrupt for this pin at rising edge? Do I have to use interrupt tool from right hand side of PSoC creator?
Thanks
Ashutosh
Labels
- Labels:
-
BLE
2 Replies
Anonymous
Not applicable
Mar 10, 2016
05:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 10, 2016
05:10 AM
Ashutosh,
If you have configure the P2.2 as a digital input, then you have the option to configure the interrupt as rising edge. You can do so in the GUI of cy_pins-> input tab-> interrupt dropdown to select. The interrupt will be read in the stop mode to wakeup the device, but if you are not in stop mode, then you will have to write your own function to read the interrupt and call the isr. I hope this helps!
-Nishant
Anonymous
Not applicable
Mar 13, 2016
07:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 13, 2016
07:12 PM
Thanks Nishant. After some going around, i found the solution as u suggested. 🙂