CW10.2 K70 Bareboard
P.E. clears the status of port interrupts prior to calling the event. It stores it in DeviceDataPrv->EventData but that is not accesible externally. It does send a UserData pointer. Not sure how to deal with that though.
What is the best method for determining which port pin caused an interrupt in Events.c?
thanks!
解決済! 解決策の投稿を見る。
Hi,
There is the method GetPortEventStatus that returns the interrupt status. You need to enable it within the Events tab or using the pop-up menu in the project panel. It's visible only in Advanced or Expert view mode (use the buttons on the top of the inspector).
best regards
Petr Hradsky
Processor Expert Support Team
Hi,
There is the method GetPortEventStatus that returns the interrupt status. You need to enable it within the Events tab or using the pop-up menu in the project panel. It's visible only in Advanced or Expert view mode (use the buttons on the top of the inspector).
best regards
Petr Hradsky
Processor Expert Support Team