S32K312 SPI Interrupt Handler Prototypes

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

S32K312 SPI Interrupt Handler Prototypes

跳至解决方案
2,170 次查看
rexoplans
Contributor III

Hello, I am using the S32K312 processor. In the RTD layer, why aren't the declarations prototypes of SPI interrupt functions defined in the header file? In other modules, functions prototypes are defined in the headers.

标记 (1)
0 项奖励
回复
1 解答
2,077 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @rexoplans 

To find the .h file, I checked the Lpspi_Flexio_Ip_Transfer_S32K312 example of the RTD 2.0.3, but I also confirmed this with the same example, but for the S32K344 in version 3.0.0.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,153 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @rexoplans 

The definitions of the LPSPI interrupt can be found in the RTD file of the project -> scr -> Lpspi_Ip_Irq.c file.

 

B.R.

VaneB

0 项奖励
回复
2,130 次查看
rexoplans
Contributor III
Yes, it exists in the C file, but I want to use it in another C file. Therefore, it needs to be in the header file. While it is defined in the header files in other modules, it's missing in the Spi module
0 项奖励
回复
2,121 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @rexoplans 

Did you mean like the ones included in Lpspi_Ip.h?

VaneB_0-1692741313816.png

0 项奖励
回复
2,084 次查看
rexoplans
Contributor III

What is the version?

0 项奖励
回复
2,078 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @rexoplans 

To find the .h file, I checked the Lpspi_Flexio_Ip_Transfer_S32K312 example of the RTD 2.0.3, but I also confirmed this with the same example, but for the S32K344 in version 3.0.0.

0 项奖励
回复
2,054 次查看
rexoplans
Contributor III
Can you share example link or files ?
0 项奖励
回复