cancel
Showing results for 
Search instead for 
Did you mean: 

Touch Interrupt Problem

Charlie CHEN
Associate III

Hi professors,

I am using STM32H743 with my development board,and I am trying to build a Interrupt for the touch function,codes are down below.

By the way, the code is generated by TouchGFX and Board STM32H743I_EVAL.

Pin defined

0690X000008AtMKQA0.png

Interrupt function in C++ file

0690X000008AtMyQAK.png

This is the detecting pin function0690X000008AtNNQA0.png

Last is my test interrupt is break in or not.0690X000008AtNSQA0.png

I tried a lot but it didn`t work.

Is there any one can help?

Thank you!

11 REPLIES 11

when you touch anywhere it should to break in that function,shouldn`t it?

But I found out it can not break in my function that I set.

If your configuration is correct, yes, that is my expectation. Do you have optimizations enabled for your compiler?

/Martin