MPC5644A INTC_InstallINTCInterruptHandler

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

MPC5644A INTC_InstallINTCInterruptHandler

Jump to solution
2,495 Views
wtlll
Contributor I

When I want to initiate a new SCI.I found someone has the following codes:

void initESCI_B (void)
{
ESCI_B.CR2.R = 0x2000; /* Module is enabled (default setting ) */
ESCI_B.CR1.R = 0x01A1002C; /* 9600 baud, 8 bits, no parity, Tx & Rx enabled */
SIU.PCR[91].R = 0x400; /* Configure pad for primary func: TxDB */
SIU.PCR[92].R = 0x400; /* Configure pad for primary func: RxDB */
INTC_InstallINTCInterruptHandler(sci_Receive, 149, 1);
}

I want to know what's the meaning of the second variable 149.If I want to initiate a new SCI_B,which number should I choose for this variable.

0 Kudos
Reply
1 Solution
2,481 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

INTC_InstallINTCInterruptHandler (name of the function, interrupt vector, priority).

davidtosenovjan_0-1616160392428.png

 

View solution in original post

0 Kudos
Reply
2 Replies
2,482 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

INTC_InstallINTCInterruptHandler (name of the function, interrupt vector, priority).

davidtosenovjan_0-1616160392428.png

 

0 Kudos
Reply
2,477 Views
wtlll
Contributor I

nice!thank you!

0 Kudos
Reply