2413764_en-US

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

2413764_en-US

2413764_en-US

driver documentation missing header information

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?

Re: driver documentation missing header information

Hello 

USually, the top-level public header for each IP driver follows the naming convention _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\_TS_...\include\"

Best regards,
Julián


タグ(1)
評価なし
バージョン履歴
最終更新日:
1週間前
更新者: