MPC5644A INTC_InstallINTCInterruptHandler

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

MPC5644A INTC_InstallINTCInterruptHandler

ソリューションへジャンプ
2,500件の閲覧回数
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,486件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

davidtosenovjan_0-1616160392428.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,487件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

davidtosenovjan_0-1616160392428.png

 

0 件の賞賛
返信
2,482件の閲覧回数
wtlll
Contributor I

nice!thank you!

0 件の賞賛
返信