Getting port interrupt status in Events.c

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Getting port interrupt status in Events.c

ソリューションへジャンプ
994件の閲覧回数
crezyoz
Contributor IV

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!

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
800件の閲覧回数
ProcessorExpert
Senior Contributor III

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

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
801件の閲覧回数
ProcessorExpert
Senior Contributor III

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

 

0 件の賞賛
返信