How do Processor Expert Interrupts Function?

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

How do Processor Expert Interrupts Function?

跳至解决方案
1,509 次查看
vivacious
Contributor II

Well....this must be so obvious to most of you here but NOT to me!!

"How do Processor Expert Interrupts Function?"

Actually I am curious because Processor Expert seems to generate some interrupts which might not be directly supported by the peripheral.

Suppose I am using UART0 on Kinetis KL25 (Freedom board), I've the option of having an interrupt on Block receive or Block Sent (AS1_OnBlockReceived and/or AS1_OnBlockSent..... I know that we have liberty to change these function names).

From Vectors.c, it is obvious that PE is using AS1_Interrupt (vector number 0x1C) but where is the "magic" happening......in which function...in which file?

If am trying to send a random string named "RANDOM_STRING", my understanding is that PE must be using AS1_Interrupt to send each of the character in the string and would be generating AS1_OnBlockSent when it is finished sending all the charcters.

Thanks in advance for your time!!

0 项奖励
回复
1 解答
1,251 次查看
vivacious
Contributor II

Thanks Filip......I was overlooking it time and again:smileysilly:

Now I've found it.

Thanks a lot!!

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,251 次查看
vfilip
NXP Employee
NXP Employee

Hello,

AS1_Interrupt is located in the c module of corresponding component. You can for example right click on the component and acces it using View Source menu command or you can check "Generated_code" folder. There are stored all genereated modules from all components in your project.

best regard

Vojtech Filip

Processor Expert Support Team

0 项奖励
回复
1,252 次查看
vivacious
Contributor II

Thanks Filip......I was overlooking it time and again:smileysilly:

Now I've found it.

Thanks a lot!!

0 项奖励
回复