MichaelBridge12
Newbie level 1
- Joined
- Dec 6, 2012
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,292
I want to know how I can use an external interrupt to control a timer interrupt. I am using keil as my compiler and programming in c. Let's say I want to produce a square wave in the timer interrupt and then every time my external interrupt is active I want to turn off/turn on the square wave. I pretty much just want to know how I can use the external interrupt to control my timer interrupt or would I just complement the square wave in the external interrupt anytime the external interrupt is activated? Any advice on how to go about doing this would be great. Thanks!
Last edited: