driver documentation missing header information

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

driver documentation missing header information

133 Views
daniel_meier
Contributor II

I am developing a project for a S32K116 inside S32DS.
By now I figured out how the RTD works regarding to IP Drivers vs MCAL/AUTOSAR.
I will limit my project to the IP Drivers for now due to possible resource constraints.

I also figured out that I can find documentation about an IP Driver component by rightclicking on it inside the Components view. 

However, I found that it is not listed inside the documentation which headers to include for each driver when using one of the described functions.
How am I supposed to know that information? Is there a different document or list where this is specified?

0 Kudos
Reply
1 Reply

105 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hello 

USually, the top-level public header for each IP driver follows the naming convention <IpName>_Ip.h (e.g. Flexcan_Ip.h, Lpspi_Ip.h, Clock_Ip.h, Adc_Sar_Ip.h). That header is what you include in your source application code.

You can also look at the examples provided inside the RTD for which header files to include:

Julin_AragnM_1-1789513358457.pngJulin_AragnM_1-1789513358457.png

  • FlexCAN -> FlexCAN_Ip.h
  • Platform/Interrupt Controller -> IntCtrl_Ip.h
  • Port/Siul2 -> Siul2_Port_Ip.h
  • Dio/Siul2 -> Siul2_Dio_Ip.h

You can look for these header files inside the RTD installation path: "C:\NXP\S32DS.3.x.x\S32DS\software\PlatformSDK_S32K1_S32M24\RTD\<driver_module>_TS_...\include\"

Best regards,
Julián

 

0 Kudos
Reply