- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After fumbling around with the routines for setting up the Interrupt routines for various components (BLESS,ADC_SAR,Pins,TCPWM), I'm curious if there is a general approach to handling turning ISR's on and off during various parts of the application code?
So far, I've been calling the _Disable(); _Stop(); to turn off the ISR, but then I have to call _StartEx(); and _Enable(); when I turn it back on; What I want to know is if I should be merely enabling/disabling the ISR and that is good enough for turning off all of the hardware (as far as reducing power consumption during sleep/deepsleep/hibernate)?
Or should I be calling _Stop(); to ensure the component is drawing no current while not in use?
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good to know; I did look under the start/stop routines and saw that it called the enable/disable functions, but wasn't sure if I should be calling those directly or not. Thanks 🙂