Feb 18, 2019
08:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 18, 2019
08:13 PM
I am porting some code from STM32 across to PSOC5LP.
One of the requirements is to be able to Read the enable state of an external interrupt, disable the interrupt and then put it back into same state as before being disabled.
I have a Digital input pin going to a derived interrupt. I started it using the StartEx and can stop using Stop but what command can I use that gives result like this:
lastState = MyExtInterrupt_Enabled();
Thanks
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 5LP
1 Solution
Feb 19, 2019
04:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2019
04:21 AM
For isr component there is a isr_GetState() API which returns the enabled/disabled state.
Bob
1 Reply
Feb 19, 2019
04:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2019
04:21 AM
For isr component there is a isr_GetState() API which returns the enabled/disabled state.
Bob