S32K148 button example with RTD

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

S32K148 button example with RTD

775件の閲覧回数
billr
Contributor I

I can find examples of configuring the EVM buttons to trigger an interrupt when using the RTM examples, but nothing with the RTD example. (There are many examples that have "toggle a LED on a push button" in the comments, but of course have nothing do with buttons; it's just a copy and paste header comment.

I've tried to make a guess at how to configure the Port_Ci_Port_Ip module and install a handler, but it's not working. I used:

IntCtrl_Ip_EnableIrq(PORTC_IRQn);
IntCtrl_Ip_InstallHandler(PORTC_IRQn, vPort_C_ISRHandler, NULL_PTR);

 

Can anyone provide a quick tutorial on this? I've spend a lot of time searching the forum but have come up empty, except for replies to look at various RTM examples, which don't apply. I'm surprised there's no button example for RTD. In case it makes any difference I'm also using FreeRTOS.

 

0 件の賞賛
返信
0 返答(返信)