How to make the UART Intteruptdriven using the function InterruptInitializeIntDrivenUART?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to make the UART Intteruptdriven using the function InterruptInitializeIntDrivenUART?

1,573 次查看
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 回复

390 次查看
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 项奖励
回复