How to make the UART Intteruptdriven using the function InterruptInitializeIntDrivenUART?

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

How to make the UART Intteruptdriven using the function InterruptInitializeIntDrivenUART?

1,465件の閲覧回数
skoglund
Contributor I
We are using C.W 8.7 and  MPC8360EA_MDS_PB Rev 2.1

We have been able to establish an duplex communication over UART1 using the functions InitializeUART(), ReadUARTN() and WriteUARTN() as mention in the "CodeWarrior TRK Reference".

Our aim is to make the communication Interruptdriven on the UART input and haven't been able to understand how:
*InterruptInitializeIntDrivenUART
*InterruptHandler()
*TransportIrqHandler()

works together and how the "volatile unsigned char** inputPendingPtrRef) in InterruptInitializeIntDrivenUART is to be used.

Could anyone provide me with an example of how to make an input UART interruptdriven?

Best Regards

Andreas
ラベル(1)
0 件の賞賛
返信
1 返信

282件の閲覧回数
skoglund
Contributor I
Anyone?

In CodeWarrior TRK Reference is says: "For any target board for which CodeWarrior TRK uses interrupt-driven communication,
set the value of TRK_TRANSPORT_INT_DRIVEN to 1." In What file shall we define this?

Tnx for support

//skoglund
0 件の賞賛
返信