S32K312 SPI Interrupt Handler Prototypes

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

S32K312 SPI Interrupt Handler Prototypes

Jump to solution
1,054 Views
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.

Tags (1)
0 Kudos
Reply
1 Solution
961 Views
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.

View solution in original post

0 Kudos
Reply
6 Replies
1,037 Views
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 Kudos
Reply
1,014 Views
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 Kudos
Reply
1,005 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @rexoplans 

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

VaneB_0-1692741313816.png

0 Kudos
Reply
968 Views
rexoplans
Contributor III

What is the version?

0 Kudos
Reply
962 Views
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 Kudos
Reply
938 Views
rexoplans
Contributor III
Can you share example link or files ?
0 Kudos
Reply