How to make the UART Intteruptdriven using the function InterruptInitializeIntDrivenUART?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to make the UART Intteruptdriven using the function InterruptInitializeIntDrivenUART?

1,573 Views
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
Labels (1)
0 Kudos
Reply
1 Reply

390 Views
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 Kudos
Reply