AnsweredAssumed Answered

STM8S003 Interrupt Sensitivity

Question asked by pollock.john on Mar 23, 2013
Latest reply on Mar 24, 2013 by pollock.john
I'm playing around with external interupts from a button and the code base is essentially what was used in the discovery board. It seems as though the documentation suggests that external iunterrupts from the ports can be EDGE triggered either rising or falling and in one case the documentation suggests falling and low level. I cant seem to get any edge triggered interrupts at all, they are all LEVEL. For instance using the discovery code, just hold in the button and you will be interrupted constantly. (No matter which setting of sensitvity)  There doesn't seem to be a pending bit to clear so I assume the IRET does that. I am currently using IAR. Am I missing something?

Outcomes