MPC5644A INTC_InstallINTCInterruptHandler

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

MPC5644A INTC_InstallINTCInterruptHandler

跳至解决方案
2,503 次查看
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 项奖励
回复
1 解答
2,489 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

davidtosenovjan_0-1616160392428.png

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,490 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

davidtosenovjan_0-1616160392428.png

 

0 项奖励
回复
2,485 次查看
wtlll
Contributor I

nice!thank you!

0 项奖励
回复