We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi there, If I need to generate an interrupt when low voltage level has been detected on a P89LPC932, what interrupt number should I use? How should I specify that ISR is the one for Brown Out detection. Thank you!!!
why do you not have a look in the P89LPC932 user's manual Erik
Erik I have looked in the User's manual and the "getting started" manual from Keil. They show you how to enable the brown out detector and how to enable its interrupt in case it is activated, but but I think I need an ISR to do something if it's activated and I do not know which number to use. that is not shown on either manual. Can you help me on that please! Thank you
is not shown on either manual. yes it is. do a search on 'vector' in the users manual. Erik
Erik, I have looked on the User's manual and I do not see "vector" anywhere except for page 45, which mentions Real-Time Clock interrupt/Wake up...and mentions the word vector...but that's it. I looked in the Getting Started manual and they really mention Vectors in different chapters, but they do not tell you what can you do for an ISR not listed. For exmaple, brown out detection ISR, what number should I use, 8? how do I know...how do I tell the micro that is the right one...I am not an expert...
page 24 of the 2002 oct 15 revision list all vectors. Erik
Erik, I think I found the page you are refering to. It shows the interrupts' summary. Enable bits, vector address, flag bits...and if I'm not mistaken interrupt number 5 is for Brown out detect. Thanks
and if I'm not mistaken you are not Erik