-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautosar.json
12359 lines (12359 loc) · 819 KB
/
autosar.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"123": {
"name": "ADC Driver",
"short_name": "Adc",
"functions": {
"0": {
"name": "Adc_Init",
"type": "void Adc_Init (const Adc_ConfigType* ConfigPtr)",
"comments": "Initializes the ADC hardware units and driver."
},
"12": {
"name": "Adc_SetupResultBuffer",
"type": "Std_ReturnType Adc_SetupResultBuffer (Adc_GroupType Group,Adc_ValueGroupType* DataBufferPtr)",
"comments": "Initializes ADC driver with the group-specific result buffer start address where the conversion results will be stored. The application has to ensure that the application buffer, where DataBufferPtr points to, can hold all the conversion results of the specified group. The initialization with Adc_SetupResultBuffer is required after reset, before a group conversion can be started."
},
"1": {
"name": "Adc_DeInit",
"type": "void Adc_DeInit (void)",
"comments": "Returns all ADC HW Units to a state comparable to their power on reset state."
},
"2": {
"name": "Adc_StartGroupConversion",
"type": "void Adc_StartGroupConversion (Adc_GroupType Group)",
"comments": "Starts the conversion of all channels of the requested ADC Channel group."
},
"3": {
"name": "Adc_StopGroupConversion",
"type": "void Adc_StopGroupConversion (Adc_GroupType Group)",
"comments": "Stops the conversion of the requested ADC channel group."
},
"4": {
"name": "Adc_ReadGroup",
"type": "Std_ReturnType Adc_ReadGroup (Adc_GroupType Group,Adc_ValueGroupType* DataBufferPtr)",
"comments": "Reads the group conversion result of the last completed conversion round of the requested group and stores the channel values starting at the Data Buffer Ptr address. The group channel values are stored in ascending channel number order (in contrast to the storage layout of the result buffer if streaming access is configured)."
},
"5": {
"name": "Adc_EnableHardwareTrigger",
"type": "void Adc_EnableHardwareTrigger (Adc_GroupType Group)",
"comments": "Enables the hardware trigger for the requested ADC Channel group."
},
"6": {
"name": "Adc_DisableHardwareTrigger",
"type": "void Adc_DisableHardwareTrigger (Adc_GroupType Group)",
"comments": "Disables the hardware trigger for the requested ADC Channel group."
},
"7": {
"name": "Adc_EnableGroupNotification",
"type": "void Adc_EnableGroupNotification (Adc_GroupType Group)",
"comments": "Enables the notification mechanism for the requested ADC Channel group."
},
"8": {
"name": "Adc_DisableGroupNotification",
"type": "void Adc_DisableGroupNotification (Adc_GroupType Group)",
"comments": "Disable the notification mechanism for the requested ADC Channel group."
},
"9": {
"name": "Adc_GetGroupStatus",
"type": "Adc_StatusType Adc_GetGroupStatus (Adc_GroupType Group)",
"comments": "Returns the conversion status of the requested ADC Channel group."
},
"11": {
"name": "Adc_GetStreamLastPointer",
"type": "Adc_StreamNumSampleType Adc_GetStreamLastPointer (Adc_GroupType Group,Adc_ValueGroupType** PtrToSamplePtr)",
"comments": "Returns the number of valid samples per channel, stored in the result buffer. Reads a pointer, pointing to a position in the group result buffer. With the pointer position, the results of all group channels of the last completed conversion round can be accessed. With the pointer and the return value, all valid group conversion results can be accessed (the user has to take the layout of the result buffer into account)."
},
"10": {
"name": "Adc_GetVersionInfo",
"type": "void Adc_GetVersionInfo (Std_VersionInfoType* versioninfo)",
"comments": "Returns the version information of this module."
},
"16": {
"name": "Adc_SetPowerState",
"type": "Std_ReturnType Adc_SetPowerState (Adc_PowerStateRequestResultType* Result)",
"comments": "This API configures the Adc module so that it enters the already prepared power state, chosen between a predefined set of configured ones."
},
"17": {
"name": "Adc_GetCurrentPowerState",
"type": "Std_ReturnType Adc_GetCurrentPowerState (Adc_PowerStateType* CurrentPowerState,Adc_PowerStateRequestResultType* Result)",
"comments": "This API returns the current power state of the ADC HW unit."
},
"18": {
"name": "Adc_GetTargetPowerState",
"type": "Std_ReturnType Adc_GetTargetPowerState (Adc_PowerStateType* TargetPowerState,Adc_PowerStateRequestResultType* Result)",
"comments": "This API returns the Target power state of the ADC HW unit."
},
"19": {
"name": "Adc_PreparePowerState",
"type": "Std_ReturnType Adc_PreparePowerState (Adc_PowerStateType PowerState,Adc_PowerStateRequestResultType* Result)",
"comments": "This API starts the needed process to allow the ADC HW module to enter the requested power state."
},
"20": {
"name": "Adc_Main_PowerTransitionManager",
"type": "void Adc_Main_PowerTransitionManager (void)",
"comments": "This API is cyclically called and supervises the power state transitions, checking for the readiness of the module and issuing the callbacks IoHwAb_Adc_NotifyReadyForPowerState<Mode> (see AdcPowerStateReadyCbkRef configuration parameter)."
}
}
},
"5": {
"name": "AUTOSAR Run-Time Interface",
"short_name": "Arti",
"functions": {
"0": {
"name": "Arti_Init",
"type": "void Arti_Init (void)",
"comments": "Service to initialize the ARTI module"
},
"1": {
"name": "Arti_GetVersionInfo",
"type": "void Arti_GetVersionInfo (Std_VersionInfoType* VersionInfoPtr)",
"comments": "Returns the version information of this module."
}
}
},
"42": {
"name": "BSW Mode Manager",
"short_name": "BswM",
"functions": {
"30": {
"name": "BswM_BswMPartitionRestarted",
"type": "void BswM_BswMPartitionRestarted (void)",
"comments": "Function called by Restart Task if the partition containing the BswM has been restarted."
},
"5": {
"name": "BswM_CanSM_CurrentState",
"type": "void BswM_CanSM_CurrentState (NetworkHandleType Network,CanSM_BswMCurrentStateType CurrentState)",
"comments": "Function called by Can SM to indicate its current state."
},
"14": {
"name": "BswM_ComM_CurrentMode",
"type": "void BswM_ComM_CurrentMode (NetworkHandleType Network,ComM_ModeType RequestedMode)",
"comments": "Function called by ComM to indicate the current communication mode of a ComM channel."
},
"21": {
"name": "BswM_ComM_CurrentPNCMode",
"type": "void BswM_ComM_CurrentPNCMode (PNCHandleType PNC,ComM_PncModeType CurrentPncMode)",
"comments": "Function is called by ComM to indicate the current mode of the PNC."
},
"34": {
"name": "BswM_ComM_InitiateReset",
"type": "void BswM_ComM_InitiateReset (void)",
"comments": "Function is called by ComM to signal a shutdown."
},
"20": {
"name": "BswM_Dcm_ApplicationUpdated",
"type": "void BswM_Dcm_ApplicationUpdated (void)",
"comments": "This function is called by the DCM in order to report an updated application."
},
"6": {
"name": "BswM_Dcm_CommunicationMode_CurrentState",
"type": "void BswM_Dcm_CommunicationMode_CurrentState (NetworkHandleType Network,Dcm_CommunicationModeType RequestedMode)",
"comments": "Function called by DCM to inform the BswM about the current state of the communication mode."
},
"4": {
"name": "BswM_Deinit",
"type": "void BswM_Deinit (void)",
"comments": "Deinitializes the BSW Mode Manager."
},
"40": {
"name": "BswM_EcuM_CurrentState",
"type": "void BswM_EcuM_CurrentState (EcuM_StateType CurrentState)",
"comments": "Function called EcuM to indicate the current ECU Operation Mode."
},
"16": {
"name": "BswM_EcuM_CurrentWakeup",
"type": "void BswM_EcuM_CurrentWakeup (EcuM_WakeupSourceType source,EcuM_WakeupStatusType state)",
"comments": "Function called by EcuM to indicate the current state of awake up source."
},
"41": {
"name": "BswM_EcuM_RequestedState",
"type": "void BswM_EcuM_RequestedState (EcuM_StateType State,EcuM_RunStatusType CurrentState)",
"comments": "Function called by EcuM to notify about current status of the Run Request Protocol."
},
"38": {
"name": "BswM_EthIf_PortGroupLinkStateChg",
"type": "void BswM_EthIf_PortGroupLinkStateChg (EthIf_SwitchPortGroupIdxType PortGroupIdx,EthTrcv_LinkStateType PortGroupState)",
"comments": "Function called by Eth If to indicate the link state change of a certain Ethernet switch port group."
},
"13": {
"name": "BswM_EthSM_CurrentState",
"type": "void BswM_EthSM_CurrentState (NetworkHandleType Network,EthSM_NetworkModeStateType CurrentState)",
"comments": "Function called by EthSM to indicate its current state."
},
"12": {
"name": "BswM_FrSM_CurrentState",
"type": "void BswM_FrSM_CurrentState (NetworkHandleType Network,FrSM_BswM_StateType CurrentState)",
"comments": "Function called by FrSM to indicate its current state."
},
"1": {
"name": "BswM_GetVersionInfo",
"type": "void BswM_GetVersionInfo (Std_VersionInfoType* VersionInfo)",
"comments": "Returns the version information of this module."
},
"0": {
"name": "BswM_Init",
"type": "void BswM_Init (const BswM_ConfigType * ConfigPtr)",
"comments": "Initializes the BSW Mode Manager."
},
"27": {
"name": "BswM_J1939DcmBroadcastStatus",
"type": "void BswM_J1939DcmBroadcastStatus (uint16 NetworkMask)",
"comments": "This API tells the BS what the desired communication status of the available networks. The status will typically be activated via COMI-PDU group switch es."
},
"24": {
"name": "BswM_J1939Nm_StateChangeNotification",
"type": "void BswM_J1939Nm_StateChangeNotification (NetworkHandleType Network,uint8 Node,Nm_StateType NmState)",
"comments": "Notification of current J1939 Nm state after state changes."
},
"10": {
"name": "BswM_LinSM_CurrentSchedule",
"type": "void BswM_LinSM_CurrentSchedule (NetworkHandleType Network,LinIf_SchHandleType CurrentSchedule)",
"comments": "Function called by Lin SM to indicate the currently active schedule table for a specific LIN channel."
},
"9": {
"name": "BswM_LinSM_CurrentState",
"type": "void BswM_LinSM_CurrentState (NetworkHandleType Network,LinSM_ModeType CurrentState)",
"comments": "Function called by Lin SM to indicate its current state."
},
"11": {
"name": "BswM_LinTp_RequestMode",
"type": "void BswM_LinTp_RequestMode (NetworkHandleType Network,LinTp_Mode LinTpRequestedMode)",
"comments": "Function called by LinTP to request a mode for the corresponding LIN channel. The LinTp_Mode correlates to the LIN schedule table that should be used."
},
"36": {
"name": "BswM_Nm_CarWakeUpIndication",
"type": "void BswM_Nm_CarWakeUpIndication (NetworkHandleType Network)",
"comments": "Function called by Nm to indicate a Car Wakeup."
},
"39": {
"name": "BswM_Nm_StateChangeNotification",
"type": "void BswM_Nm_StateChangeNotification (NetworkHandleType Network,Nm_StateType currentState)",
"comments": "Notification of current Nm state after state changes."
},
"22": {
"name": "BswM_NvM_CurrentBlockMode",
"type": "void BswM_NvM_CurrentBlockMode (NvM_BlockIdType Block,NvM_RequestResultType CurrentBlockMode)",
"comments": "Function called by NvM to indicate the current block mode of an NvM block."
},
"23": {
"name": "BswM_NvM_CurrentJobMode",
"type": "void BswM_NvM_CurrentJobMode (NvM_MultiBlockRequestType MultiBlockRequest,NvM_RequestResultType CurrentJobMode)",
"comments": "Function called by NvM to inform the BswM about the current state of a multiblock job."
},
"2": {
"name": "BswM_RequestMode",
"type": "void BswM_RequestMode (BswM_UserType requesting_user,BswM_ModeType requested_mode)",
"comments": "Generic function call to request modes. This function shall only be used by other BSW modules that do not have a specific mode request interface."
},
"31": {
"name": "BswM_Sd_ClientServiceCurrentState",
"type": "void BswM_Sd_ClientServiceCurrentState (uint16 SdClientServiceHandleId,Sd_ClientServiceCurrentStateType CurrentClientState)",
"comments": "Function called by Service Discovery to indicate current state of the Client Service (available/down)."
},
"33": {
"name": "BswM_Sd_ConsumedEventGroupCurrentState",
"type": "void BswM_Sd_ConsumedEventGroupCurrentState (uint16 SdConsumedEventGroupHandleId,Sd_ConsumedEventGroupCurrentStateType ConsumedEventGroupState)",
"comments": "Function called by Service Discovery to indicate current status of the Consumed Event group (available/down)."
},
"32": {
"name": "BswM_Sd_EventHandlerCurrentState",
"type": "void BswM_Sd_EventHandlerCurrentState (uint16 SdEventHandlerHandleId,Sd_EventHandlerCurrentStateType EventHandlerStatus)",
"comments": "Function called by Service Discovery to indicate current status of the Event Handler (requested/released)."
},
"42": {
"name": "BswM_SoAd_SoConModeChg",
"type": "void BswM_SoAd_SoConModeChg (SoAd_SoConIdType SoConId,SoAd_SoConModeType State)",
"comments": "Function called by SoAd to notify state changes of a socket connection."
},
"3": {
"name": "BswM_MainFunction",
"type": "void BswM_MainFunction (void)",
"comments": "Main function of the BSWM"
}
}
},
"23": {
"name": "Bulk NvData Manager",
"short_name": "BndM",
"functions": {
"1": {
"name": "BndM_Init",
"type": "void BndM_Init (const BndM_ConfigType* ConfigPtr)",
"comments": "Initializes or reinitializes this module."
},
"2": {
"name": "BndM_GetVersionInfo",
"type": "void BndM_GetVersionInfo (Std_VersionInfoType* versioninfo)",
"comments": "Returns the version information of this module. API Availability: This API will be available only if (ecucBndM / BndMGeneral.BndMVersionInfoApi) == true."
},
"3": {
"name": "BndM_GetBlockPtr_BlockId_Shortname",
"type": "Std_ReturnType BndM_GetBlockPtr_BlockId_Shortname (BndM_BlockIdType BlockId,BndM_Block_BlockId_ShortnameType** BndM_BlockPtr)",
"comments": "It seems like you might have meant to provide a specific text that needs corrections or edits. Please share the text you would like me to fix, and I\u2019d be happy to help!"
},
"4": {
"name": "BndM_WriteStart",
"type": "Std_ReturnType BndM_WriteStart (void)",
"comments": "Will trigger the start of writing phase. The finish of asynchronous processing will trigger the callback xxx_BndMWriteStartFinish including the result of this operation."
},
"5": {
"name": "BndM_WriteBlock_BlockId_Shortname",
"type": "Std_ReturnType BndM_WriteBlock_BlockId_Shortname (BndM_BlockIdType BlockId,const BndM_Block_BlockId_ShortnameType* BndM_SrcPtr)",
"comments": "Will persist the data in flash, that it can later directly accessed via BndM_GetBlockPtr API. The writing takes a while and is finished after the successful callback xxx_BndMWriteBlockFinish."
},
"6": {
"name": "BndM_WriteFinalize",
"type": "Std_ReturnType BndM_WriteFinalize (void)",
"comments": "Will trigger the finalization of writing phase. The finish of asynchronous processing will trigger the callback xxx_BndMWriteFinalizeFinish including the result of this operation."
},
"7": {
"name": "BndM_WriteCancel",
"type": "void BndM_WriteCancel (void)",
"comments": "Cancels the writing"
},
"8": {
"name": "BndM_JobEndNotification",
"type": "void BndM_JobEndNotification (void)",
"comments": "This callback function is called when a FLS job has been finished with positive result."
},
"9": {
"name": "BndM_JobErrorNotification",
"type": "void BndM_JobErrorNotification (void)",
"comments": "This callback function is called when a FLS job has been canceled or finished with negative result."
},
"85": {
"name": "BndM_MainFunction",
"type": "void BndM_MainFunction (void)",
"comments": "Schedule function for the background processing."
},
"86": {
"name": "Xxx_BndMWriteStartFinish",
"type": "void Xxx_BndMWriteStartFinish (BndM_BlockIdType BlockId,BndM_ResultType result)",
"comments": "This callback function is called when BndM_WriteStart is finished."
},
"87": {
"name": "Xxx_BndMWriteBlockFinish",
"type": "void Xxx_BndMWriteBlockFinish (BndM_BlockIdType BlockId,BndM_ResultType result)",
"comments": "This callback function is called when BndM_WriteBlock is finished."
},
"88": {
"name": "Xxx_BndMWriteFinalizeFinish",
"type": "void Xxx_BndMWriteFinalizeFinish (BndM_BlockIdType BlockId,BndM_ResultType result)",
"comments": "This callback function is called when BndM_WriteFinalize is finished."
}
}
},
"48": {
"name": "Bus Mirroring",
"short_name": "Mirror",
"functions": {
"1": {
"name": "Mirror_Init",
"type": "void Mirror_Init (const Mirror_ConfigType* configPtr)",
"comments": "This function initializes the Bus Mirroring module. In configurations in which Mirror is assigned to more than one partition (i.e. Mirror_Main Functions are mapped to partitions), Mirror may provide one init function per partition."
},
"2": {
"name": "Mirror_DeInit",
"type": "void Mirror_DeInit (void)",
"comments": "This function resets the Bus Mirroring module to the uninitialized state."
},
"3": {
"name": "Mirror_GetVersionInfo",
"type": "void Mirror_GetVersionInfo (Std_VersionInfoType* versionInfo)",
"comments": "Returns the version information of this module."
},
"35": {
"name": "Mirror_GetStaticFilterState",
"type": "Std_ReturnType Mirror_GetStaticFilterState (NetworkHandleType network,uint8 filterId,boolean* isActive)",
"comments": "Returns the state of a pre-configured filter."
},
"20": {
"name": "Mirror_SetStaticFilterState",
"type": "Std_ReturnType Mirror_SetStaticFilterState (NetworkHandleType network,uint8 filterId,boolean isActive)",
"comments": "Sets the state of a pre-configured filter."
},
"21": {
"name": "Mirror_AddCanRangeFilter",
"type": "Std_ReturnType Mirror_AddCanRangeFilter (NetworkHandleType network,uint8* filterId,Can_IdType lowerId,Can_IdType upperId)",
"comments": "Creates a CAN ID range filter."
},
"22": {
"name": "Mirror_AddCanMaskFilter",
"type": "Std_ReturnType Mirror_AddCanMaskFilter (NetworkHandleType network,uint8* filterId,Can_IdType id,Can_IdType mask)",
"comments": "Creates a CAN ID mask filter."
},
"23": {
"name": "Mirror_AddLinRangeFilter",
"type": "Std_ReturnType Mirror_AddLinRangeFilter (NetworkHandleType network,uint8* filterId,uint8 lowerId,uint8 upperId)",
"comments": "Create a SLInframe ID range filter."
},
"24": {
"name": "Mirror_AddLinMaskFilter",
"type": "Std_ReturnType Mirror_AddLinMaskFilter (NetworkHandleType network,uint8* filterId,uint8 id,uint8 mask)",
"comments": "Creates a LIN frame ID mask filter."
},
"25": {
"name": "Mirror_AddFlexRayFilter",
"type": "Std_ReturnType Mirror_AddFlexRayFilter (NetworkHandleType network,uint8* filterId,uint16 lowerSlotId,uint16 upperSlotId,uint8 lowerBaseCycle,uint8 upperBaseCycle,uint8 cycleRepetition,Fr_ChannelType frChannel)",
"comments": "Creates a FlexRay filter."
},
"26": {
"name": "Mirror_RemoveFilter",
"type": "Std_ReturnType Mirror_RemoveFilter (NetworkHandleType network,uint8 filterId)",
"comments": "Removes a CAN, LIN, or FlexRay filter that was added at runtime."
},
"32": {
"name": "Mirror_IsMirrorActive",
"type": "boolean Mirror_IsMirrorActive (void)",
"comments": "Returns the global mirroring state."
},
"19": {
"name": "Mirror_Offline",
"type": "void Mirror_Offline (void)",
"comments": "Completely disables any mirroring activities. Source buses are reset to disabled, queued messages are purged, and the destination bus is reset to the default destination. Pre-configured filters are disabled, and filters added at runtime are removed."
},
"33": {
"name": "Mirror_GetDestNetwork",
"type": "NetworkHandleType Mirror_GetDestNetwork (void)",
"comments": "Returns the currently selected destination bus."
},
"18": {
"name": "Mirror_SwitchDestNetwork",
"type": "Std_ReturnType Mirror_SwitchDestNetwork (NetworkHandleType network)",
"comments": "Change the destination bus to the given ComM channel. The previously active destination bus and all source buses are disabled."
},
"34": {
"name": "Mirror_IsSourceNetworkStarted",
"type": "boolean Mirror_IsSourceNetworkStarted (NetworkHandleType network)",
"comments": "Returns the state of a source bus."
},
"16": {
"name": "Mirror_StartSourceNetwork",
"type": "Std_ReturnType Mirror_StartSourceNetwork (NetworkHandleType network)",
"comments": "Activates a source bus."
},
"17": {
"name": "Mirror_StopSourceNetwork",
"type": "Std_ReturnType Mirror_StopSourceNetwork (NetworkHandleType network)",
"comments": "Deactivates a source bus."
},
"36": {
"name": "Mirror_GetNetworkType",
"type": "Mirror_NetworkType Mirror_GetNetworkType (NetworkHandleType network)",
"comments": "Returns the network type of the given network."
},
"37": {
"name": "Mirror_GetNetworkId",
"type": "uint8 Mirror_GetNetworkId (NetworkHandleType network)",
"comments": "Returns the network ID of the given network."
},
"38": {
"name": "Mirror_GetNetworkHandle",
"type": "NetworkHandleType Mirror_GetNetworkHandle (Mirror_NetworkType networkType,uint8 networkId)",
"comments": "Returns the network handle (ComM Channel) of the bus identified by the given network type and network ID, or MIRROR_INVALID_NETWORK."
},
"80": {
"name": "Mirror_ReportCanFrame",
"type": "void Mirror_ReportCanFrame (uint8 controllerId,Can_IdType canId,uint8 length,const uint8* payload)",
"comments": "Reports are received or transmitted CAN frame. All received CAN frames that pass the hardware acceptance filter are reported, independent of the software filter configuration. Transmitted CAN frames are reported when the transmission is confirmed."
},
"81": {
"name": "Mirror_ReportLinFrame",
"type": "void Mirror_ReportLinFrame (NetworkHandleType network,Lin_FramePidType pid,const PduInfoType* pdu,Lin_StatusType status)",
"comments": "Reports are received or transmitted in LIN frame."
},
"82": {
"name": "Mirror_ReportFlexRayFrame",
"type": "void Mirror_ReportFlexRayFrame (uint8 controllerId,uint16 slotId,uint8 cycle,Fr_ChannelType frChannel,const PduInfoType* frame,boolean txConflict)",
"comments": "Reports are received or transmitted FlexRay frame or a Tx conflict."
},
"83": {
"name": "Mirror_ReportFlexRayChannelStatus",
"type": "void Mirror_ReportFlexRayChannelStatus (uint8 clusterId,uint16 channelAStatus,uint16 channelBStatus)",
"comments": "Reports the aggregated channel status for FlexRay channels A and B of a cluster. The status is encoded as specified in SWS_Fr_00558."
},
"64": {
"name": "Mirror_TxConfirmation",
"type": "void Mirror_TxConfirmation (PduIdType TxPduId,Std_ReturnType result)",
"comments": "The lower layer communication interface module confirms the transmission of a PDU, or the failure to transmit a PDU."
},
"65": {
"name": "Mirror_TriggerTransmit",
"type": "Std_ReturnType Mirror_TriggerTransmit (PduIdType TxPduId,PduInfoType* PduInfoPtr)",
"comments": "Within this API, the upper layer module (called module) shall check whether the available data fits into the buffer size reported by PduInfoPtr->SduLength. If it fits, it shall copy its data into the buffer provided by PduInfoPtr->SduDataPtr and update the length of the actual copied data in PduInfoPtr->SduLength. If not, it returns E_NOT_OK without changing PduInfoPtr."
},
"4": {
"name": "Mirror_MainFunction",
"type": "void Mirror_MainFunction (void)",
"comments": "Main function of the Bus Mirroring module. Used for scheduling purposes and timeout supervision. Preconfigured Mirror Main Function instance one Mirror_MainFunction_<shortName> shall be implemented. Hereby <shortName> is the short name of the Mirror Main Function configuration container in the ECU configuration."
}
}
},
"80": {
"name": "CAN Driver",
"short_name": "Can",
"functions": {
"0": {
"name": "Can_Init",
"type": "void Can_Init (const Can_ConfigType* Config)",
"comments": "This function initializes the module."
},
"7": {
"name": "Can_GetVersionInfo",
"type": "void Can_GetVersionInfo (Std_VersionInfoType* versioninfo)",
"comments": "This function returns the version information of this module."
},
"16": {
"name": "Can_DeInit",
"type": "void Can_DeInit (void)",
"comments": "This function de-initializes the module."
},
"15": {
"name": "Can_SetBaudrate",
"type": "Std_ReturnType Can_SetBaudrate (uint8 Controller,uint16 BaudRateConfigID)",
"comments": "This service shall set the baud rate configuration of the CAN controller. Depending on necessary baud rate modifications, the controller might have to reset."
},
"3": {
"name": "Can_SetControllerMode",
"type": "Std_ReturnType Can_SetControllerMode (uint8 Controller,Can_ControllerStateType Transition)",
"comments": "This function performs software triggered state transitions of the CAN controller State machine."
},
"4": {
"name": "Can_DisableControllerInterrupts",
"type": "void Can_DisableControllerInterrupts (uint8 Controller)",
"comments": "This function disables all interrupts for this CAN controller."
},
"5": {
"name": "Can_EnableControllerInterrupts",
"type": "void Can_EnableControllerInterrupts (uint8 Controller)",
"comments": "This function enables all allowed interrupts."
},
"11": {
"name": "Can_CheckWakeup",
"type": "Std_ReturnType Can_CheckWakeup (uint8 Controller)",
"comments": "This function checks if a wake up has occurred for the given controller."
},
"17": {
"name": "Can_GetControllerErrorState",
"type": "Std_ReturnType Can_GetControllerErrorState (uint8 ControllerId,Can_ErrorStateType* ErrorStatePtr)",
"comments": "This service obtains the error state of the CAN controller."
},
"18": {
"name": "Can_GetControllerMode",
"type": "Std_ReturnType Can_GetControllerMode (uint8 Controller,Can_ControllerStateType* ControllerModePtr)",
"comments": "This service reports about the current status of the requested CAN controller."
},
"48": {
"name": "Can_GetControllerRxErrorCounter",
"type": "Std_ReturnType Can_GetControllerRxErrorCounter (uint8 ControllerId,uint8* RxErrorCounterPtr)",
"comments": "Returns the Rx error counter for a CAN controller. This value might not be available for all CAN controllers, in which case E_NOT_OK would be returned. Please note that the value of the counter might not be correct at the moment the API returns it, because the Rx counter is handled asynchronously in hardware. Applications should not trust this value for any assumption about the current bus state."
},
"49": {
"name": "Can_GetControllerTxErrorCounter",
"type": "Std_ReturnType Can_GetControllerTxErrorCounter (uint8 ControllerId,uint8* TxErrorCounterPtr)",
"comments": "Returns the Tx error counter for a CAN controller. This value might not be available for all CAN controllers, in which case E_NOT_OK would be returned. Please note that the value of the counter might not be correct at the moment the API returns it, because the Tx counter is handled asynchronously in hardware. Applications should not trust this value for any assumption about the current bus state."
},
"50": {
"name": "Can_GetCurrentTime",
"type": "Std_ReturnType Can_GetCurrentTime (uint8 ControllerId,Can_TimeStampType* timeStampPtr)",
"comments": "Returns a time value out of the HW registers according to the capability of the HW. Important Note: Can_GetCurrentTime may be called within an exclusive area. Tags: atp. Status = draft."
},
"51": {
"name": "Can_EnableEgressTimeStamp",
"type": "void Can_EnableEgressTimeStamp (Can_HwHandleType Hth)",
"comments": "Activate segregated timestamping on a dedicated HTH. Some HW does store once the egress timestamp marker and some HW needs it always before transmission. There will be no \"disable\" functionality, due to the fact that the message type is always \"timestamped\" by network design. Tags: atp. Status = draft"
},
"52": {
"name": "Can_GetEgressTimeStamp",
"type": "Std_ReturnType Can_GetEgressTimeStamp (PduIdType TxPduId,Can_HwHandleType Hth,Can_TimeStampType* timeStampPtr)",
"comments": "Reads back the egress timestamp on a dedicated message object. It needs to be called within the TxConfirmation() function. Tags: atp. Status = draft."
},
"53": {
"name": "Can_GetIngressTimeStamp",
"type": "Std_ReturnType Can_GetIngressTimeStamp (Can_HwHandleType Hrh,Can_TimeStampType* timeStampPtr)",
"comments": "Reads back the ingress timestamp on a dedicated message object. It needs to be called within the RxIndication() function. Tags: atp. Status = draft"
},
"6": {
"name": "Can_Write",
"type": "Std_ReturnType Can_Write (Can_HwHandleType Hth,const Can_PduType* PduInfo)",
"comments": "This function is called by CanIf to pass a CAN message to CanDrv for transmission."
},
"32": {
"name": "LPDU_CalloutName",
"type": "boolean LPDU_CalloutName (uint8 Hrh,Can_IdType CanId,uint8 CanDataLegth,const uint8* CanSduPtr)",
"comments": "It seems like there was an error as no text was provided to fix. Could you please provide the text you would like me to correct?"
},
"1": {
"name": "Can_MainFunction_Write",
"type": "void Can_MainFunction_Write (void)",
"comments": "This function performs the polling of TX confirmation when CAN_TX_PROCESSING is set to POLLING."
},
"8": {
"name": "Can_MainFunction_Read",
"type": "void Can_MainFunction_Read (void)",
"comments": "This function performs the polling of RX indications when CAN_RX_PROCESSING is set to POLLING."
},
"9": {
"name": "Can_MainFunction_BusOff",
"type": "void Can_MainFunction_BusOff (void)",
"comments": "This function performs the polling of bus-off events that are configured statically as 'to be polled'."
},
"10": {
"name": "Can_MainFunction_Wakeup",
"type": "void Can_MainFunction_Wakeup (void)",
"comments": "This function performs the polling of wake-up events that are configured statically as \u2018to be polled\u2019."
},
"12": {
"name": "Can_MainFunction_Mode",
"type": "void Can_MainFunction_Mode (void)",
"comments": "This function performs the polling of CAN controller mode transitions."
}
}
},
"60": {
"name": "CAN Interface",
"short_name": "CanIf",
"functions": {
"1": {
"name": "CanIf_Init",
"type": "void CanIf_Init (const CanIf_ConfigType* ConfigPtr)",
"comments": "This service initializes internal and external interfaces of the CAN Interface for the further processing."
},
"2": {
"name": "CanIf_DeInit",
"type": "void CanIf_DeInit (void)",
"comments": "De-initializes the Can If module."
},
"3": {
"name": "CanIf_SetControllerMode",
"type": "Std_ReturnType CanIf_SetControllerMode (uint8 ControllerId,Can_ControllerStateType ControllerMode)",
"comments": "This service calls the corresponding CAN Driver service for changing of the CAN controller mode."
},
"4": {
"name": "CanIf_GetControllerMode",
"type": "Std_ReturnType CanIf_GetControllerMode (uint8 ControllerId,Can_ControllerStateType* ControllerModePtr)",
"comments": "This service calls the corresponding CAN Driver service for obtaining the current status of the CAN controller."
},
"75": {
"name": "CanIf_GetControllerErrorState",
"type": "Std_ReturnType CanIf_GetControllerErrorState (uint8 ControllerId,Can_ErrorStateType* ErrorStatePtr)",
"comments": "This service calls the corresponding CAN Driver service for obtaining the error state of the CAN controller."
},
"73": {
"name": "CanIf_Transmit",
"type": "Std_ReturnType CanIf_Transmit (PduIdType TxPduId,const PduInfoType* PduInfoPtr)",
"comments": "Requests transmission of a PDU."
},
"6": {
"name": "CanIf_ReadRxPduData",
"type": "Std_ReturnType CanIf_ReadRxPduData (PduIdType CanIfRxSduId,PduInfoType* CanIfRxInfoPtr)",
"comments": "This service provides the Data Length and the received data of the requested CanIf Rx Sdu Id to the calling upper layer."
},
"7": {
"name": "CanIf_ReadTxNotifStatus",
"type": "CanIf_NotifStatusType CanIf_ReadTxNotifStatus (PduIdType CanIfTxSduId)",
"comments": "This service returns the confirmation status (confirmation occurred or not) of a specific static or dynamic CAN Tx L-PDU, requested by the Can If Tx Sdu Id."
},
"8": {
"name": "CanIf_ReadRxNotifStatus",
"type": "CanIf_NotifStatusType CanIf_ReadRxNotifStatus (PduIdType CanIfRxSduId)",
"comments": "This service returns the indication status (indication occurred or not) of a specific CAN Rx L-PDU, requested by the Can If Rx Sdu Id."
},
"9": {
"name": "CanIf_SetPduMode",
"type": "Std_ReturnType CanIf_SetPduMode (uint8 ControllerId,CanIf_PduModeType PduModeRequest)",
"comments": "This service sets the requested mode at the L-PDUs of a predefined logical PDU channel."
},
"10": {
"name": "CanIf_GetPduMode",
"type": "Std_ReturnType CanIf_GetPduMode (uint8 ControllerId,CanIf_PduModeType* PduModePtr)",
"comments": "This service reports the current mode of a requested PDU channel."
},
"11": {
"name": "CanIf_GetVersionInfo",
"type": "void CanIf_GetVersionInfo (Std_VersionInfoType* VersionInfo)",
"comments": "This service returns the version information of the called CAN Interface module."
},
"12": {
"name": "CanIf_SetDynamicTxId",
"type": "void CanIf_SetDynamicTxId (PduIdType CanIfTxSduId,Can_IdType CanId)",
"comments": "This service reconfigures the corresponding CAN identifier of the requested CAN L-PDU."
},
"13": {
"name": "CanIf_SetTrcvMode",
"type": "Std_ReturnType CanIf_SetTrcvMode (uint8 TransceiverId,CanTrcv_TrcvModeType TransceiverMode)",
"comments": "This service changes the operation mode of the transceiver Transceiver Id, via calling the corresponding CAN Transceiver Driver service."
},
"14": {
"name": "CanIf_GetTrcvMode",
"type": "Std_ReturnType CanIf_GetTrcvMode (uint8 TransceiverId,CanTrcv_TrcvModeType* TransceiverModePtr)",
"comments": "This function invokes CanTrcv_GetOpMode and updates the parameter TransceiverModePtr with the value OpMode provided by CanTrcv."
},
"15": {
"name": "CanIf_GetTrcvWakeupReason",
"type": "Std_ReturnType CanIf_GetTrcvWakeupReason (uint8 TransceiverId,CanTrcv_TrcvWakeupReasonType* TrcvWuReasonPtr)",
"comments": "This service returns the reason for the wake up of the transceiver TransceiverId, via calling the corresponding CAN Transceiver Driver service."
},
"16": {
"name": "CanIf_SetTrcvWakeupMode",
"type": "Std_ReturnType CanIf_SetTrcvWakeupMode (uint8 TransceiverId,CanTrcv_TrcvWakeupModeType TrcvWakeupMode)",
"comments": "This function shall call CanTrcv_SetTrcvWakeupMode."
},
"17": {
"name": "CanIf_CheckWakeup",
"type": "Std_ReturnType CanIf_CheckWakeup (EcuM_WakeupSourceType WakeupSource)",
"comments": "This service checks whether an underlying CAN driver or a CAN transceiver driver already signals a wake-up event."
},
"18": {
"name": "CanIf_CheckValidation",
"type": "Std_ReturnType CanIf_CheckValidation (EcuM_WakeupSourceType WakeupSource)",
"comments": "This service is performed to validate a previous wake up event."
},
"25": {
"name": "CanIf_GetTxConfirmationState",
"type": "CanIf_NotifStatusType CanIf_GetTxConfirmationState (uint8 ControllerId)",
"comments": "This service reports, if any TX confirmation has been done for the whole CAN controllers since the last CAN controller start."
},
"30": {
"name": "CanIf_ClearTrcvWufFlag",
"type": "Std_ReturnType CanIf_ClearTrcvWufFlag (uint8 TransceiverId)",
"comments": "Request the Can If module to clear the WUF flag of the designated CAN transceiver."
},
"31": {
"name": "CanIf_CheckTrcvWakeFlag",
"type": "Std_ReturnType CanIf_CheckTrcvWakeFlag (uint8 TransceiverId)",
"comments": "Request the Can If module to check the Wake flag of the designated CAN transceiver."
},
"39": {
"name": "CanIf_SetBaudrate",
"type": "Std_ReturnType CanIf_SetBaudrate (uint8 ControllerId,uint16 BaudRateConfigID)",
"comments": "This service shall set the baud rate configuration of the CAN controller. Depending on necessary baud rate modifications, the controller might have to reset."
},
"77": {
"name": "CanIf_GetControllerRxErrorCounter",
"type": "Std_ReturnType CanIf_GetControllerRxErrorCounter (uint8 ControllerId,uint8* RxErrorCounterPtr)",
"comments": "This service calls the corresponding CAN Driver service for obtaining the Rx error counter of the CAN controller."
},
"78": {
"name": "CanIf_GetControllerTxErrorCounter",
"type": "Std_ReturnType CanIf_GetControllerTxErrorCounter (uint8 ControllerId,uint8* TxErrorCounterPtr)",
"comments": "This service calls the corresponding CAN Driver service for obtaining the Tx error counter of the CAN controller."
},
"76": {
"name": "CanIf_EnableBusMirroring",
"type": "Std_ReturnType CanIf_EnableBusMirroring (uint8 ControllerId,boolean MirroringActive)",
"comments": "Enables or disables mirroring for a CAN controller."
},
"81": {
"name": "CanIf_GetCurrentTime",
"type": "Std_ReturnType CanIf_GetCurrentTime (uint8 Controller,Can_TimeStampType* timeStampPtr)",
"comments": "This service calls the corresponding CAN Driver service to retrieve the current time value out of the HW registers. Tags: atp. Status = draft"
},
"82": {
"name": "CanIf_EnableEgressTimeStamp",
"type": "void CanIf_EnableEgressTimeStamp (PduIdType TxPduId)",
"comments": "This service calls the corresponding CAN Driver service to activate egress timestamping on a dedicated message object. Tags: atp. Status=draft"
},
"83": {
"name": "CanIf_GetEgressTimeStamp",
"type": "Std_ReturnType CanIf_GetEgressTimeStamp (PduIdType TxPduId,Can_TimeStampType* timeStampPtr)",
"comments": "This service calls the corresponding CAN Driver service to read back the egress timestamp on a dedicated message object. It needs to be called within the TxConfirmation() function. Tags: atp.Status = draft"
},
"84": {
"name": "CanIf_GetIngressTimeStamp",
"type": "Std_ReturnType CanIf_GetIngressTimeStamp (PduIdType RxPduId,Can_TimeStampType* timeStampPtr)",
"comments": "This service calls the corresponding CAN Driver service to read back the ingress timestamp on a dedicated message object. It needs to be called within the RxIndication() function. Tags: atp. Status = draft"
},
"65": {
"name": "CanIf_TriggerTransmit",
"type": "Std_ReturnType CanIf_TriggerTransmit (PduIdType TxPduId,PduInfoType* PduInfoPtr)",
"comments": "Within this API, the upper layer module (called module) shall check whether the available data fits into the buffer size reported by PduInfoPtr->SduLength. If it fits, it shall copy its data into the buffer provided by PduInfoPtr->SduDataPtr and update the length of the actual copied data in PduInfoPtr->SduLength. If not, it returns E_NOT_OK without changing PduInfoPtr."
},
"19": {
"name": "CanIf_TxConfirmation",
"type": "void CanIf_TxConfirmation (PduIdType CanTxPduId)",
"comments": "This service confirms a previously successfully processed transmission of a CAN Tx PDU."
},
"20": {
"name": "CanIf_RxIndication",
"type": "void CanIf_RxIndication (const Can_HwType* Mailbox,const PduInfoType* PduInfoPtr)",
"comments": "This service indicates a successful reception of a received CAN RxL-PDU to the Can If after passing all filters and validation checks."
},
"85": {
"name": "CanIf_XLRxIndication",
"type": "void CanIf_XLRxIndication (const CanXL_HwType* Mailbox,const PduInfoType* PduInfoPtr)",
"comments": "This service indicates a successful reception of a received CAN XL RX L-PDU to the Can If after passing all filters and validation checks. It provides the CAN XL specific parameters besides the hardware and actual L-PDU information."
},
"22": {
"name": "CanIf_ControllerBusOff",
"type": "void CanIf_ControllerBusOff (uint8 ControllerId)",
"comments": "This service indicates a Controller Bus Off event referring to the corresponding CAN Controller with the abstract Can If Controller Id."
},
"26": {
"name": "CanIf_ConfirmPnAvailability",
"type": "void CanIf_ConfirmPnAvailability (uint8 TransceiverId)",
"comments": "This service indicates that the transceiver is running in PN communication mode referring to the corresponding CAN transceiver with the abstract CanIfTransceiverId."
},
"86": {
"name": "CanIf_ConfirmCtrlPnAvailability",
"type": "void CanIf_ConfirmCtrlPnAvailability (uint8 ControllerId)",
"comments": "This service indicates that the controller is running in PN communication mode referring to the corresponding CAN controller with the abstract Can If Controller Id. Tags: atp. Status = draft"
},
"32": {
"name": "CanIf_ClearTrcvWufFlagIndication",
"type": "void CanIf_ClearTrcvWufFlagIndication (uint8 TransceiverId)",
"comments": "This service indicates that the transceiver has cleared the Wuf Flag referring to the corresponding CAN transceiver with the abstract Can If Transceiver Id."
},
"33": {
"name": "CanIf_CheckTrcvWakeFlagIndication",
"type": "void CanIf_CheckTrcvWakeFlagIndication (uint8 TransceiverId)",
"comments": "This service indicates that the check of the transceiver\u2019s wake-up flag has been finished by the corresponding CAN transceiver with the abstract Can If Transceiver Id. This indication is used to cope with the asynchronous transceiver communication."
},
"23": {
"name": "CanIf_ControllerModeIndication",
"type": "void CanIf_ControllerModeIndication (uint8 ControllerId,Can_ControllerStateType ControllerMode)",
"comments": "This service indicates a controller state transition referring to the corresponding CAN controller with the abstract Can If Controller Id."
},
"34": {
"name": "CanIf_TrcvModeIndication",
"type": "void CanIf_TrcvModeIndication (uint8 TransceiverId,CanTrcv_TrcvModeType TransceiverMode)",
"comments": "This service indicates a transceiver state transition referring to the corresponding CAN transceiver with the abstract CanIfTransceiverId."
},
"79": {
"name": "CanIf_ControllerErrorStatePassive",
"type": "void CanIf_ControllerErrorStatePassive (uint8 ControllerId,uint16 RxErrorCounter,uint16 TxErrorCounter)",
"comments": "The function derives the Error Counter Threshold from Rx Error Counter / Tx Error Counter values and reports it to the Ids Mas security event SEV_CAN_ERROR_STATE_PASSIVE to the Ids M. It also prepares the context data for the respective security event."
},
"80": {
"name": "CanIf_ErrorNotification",
"type": "void CanIf_ErrorNotification (uint8 ControllerId,Can_ErrorType Can_ErrorType)",
"comments": "The function shall derive the bus error source rx or tx from the parameter CanError and report the bus error as security event SEV_CAN_TX_ERROR_DETECTED or SEV_CAN_RX_ERROR_DETECTED. It also prepares the context data for the respective security event."
}
}
},
"31": {
"name": "CAN Network Management",
"short_name": "CanNm",
"functions": {
"0": {
"name": "CanNm_Init",
"type": "void CanNm_Init (const CanNm_ConfigType* cannmConfigPtr)",
"comments": "Initialize the CanNm module."
},
"16": {
"name": "CanNm_DeInit",
"type": "void CanNm_DeInit (void)",
"comments": "De-initializes the CanNm module."
},
"1": {
"name": "CanNm_PassiveStartUp",
"type": "Std_ReturnType CanNm_PassiveStartUp (NetworkHandleType nmChannelHandle)",
"comments": "PassivestartupoftheAUTOSARCANNM. It triggersthetransitionfromBus-SleepModeorPrepareBusSleepModetotheNetworkModeinRepeatMessageState. Caveats: Can Nmis initialized correctly."
},
"2": {
"name": "CanNm_NetworkRequest",
"type": "Std_ReturnType CanNm_NetworkRequest (NetworkHandleType nmChannelHandle)",
"comments": "Request the network, since ECU needs to communicate on the bus."
},
"3": {
"name": "CanNm_NetworkRelease",
"type": "Std_ReturnType CanNm_NetworkRelease (NetworkHandleType nmChannelHandle)",
"comments": "Release the network, since ECU doesn\u2019t have to communicate on the bus."
},
"12": {
"name": "CanNm_DisableCommunication",
"type": "Std_ReturnType CanNm_DisableCommunication (NetworkHandleType nmChannelHandle)",
"comments": "Disable the NMPDU transmission ability due to a ISO 14229 Communication Control (28 hex) service."
},
"13": {
"name": "CanNm_EnableCommunication",
"type": "Std_ReturnType CanNm_EnableCommunication (NetworkHandleType nmChannelHandle)",
"comments": "Enable the NMPDU transmission ability due to a ISO 14229 Communication Control (28 hex) service."
},
"4": {
"name": "CanNm_SetUserData",
"type": "Std_ReturnType CanNm_SetUserData (NetworkHandleType nmChannelHandle,const uint8* nmUserDataPtr)",
"comments": "Set user data for NM PDU transmitted next on the bus."
},
"5": {
"name": "CanNm_GetUserData",
"type": "Std_ReturnType CanNm_GetUserData (NetworkHandleType nmChannelHandle,uint8* nmUserDataPtr)",
"comments": "Get user data out of the most recently received NM PDU."
},
"73": {
"name": "CanNm_Transmit",
"type": "Std_ReturnType CanNm_Transmit (PduIdType TxPduId,const PduInfoType* PduInfoPtr)",
"comments": "Requests transmission of a PDU."
},
"6": {
"name": "CanNm_GetNodeIdentifier",
"type": "Std_ReturnType CanNm_GetNodeIdentifier (NetworkHandleType nmChannelHandle,uint8* nmNodeIdPtr)",
"comments": "Get node identifier out of the most recently received NMPDU."
},
"7": {
"name": "CanNm_GetLocalNodeIdentifier",
"type": "Std_ReturnType CanNm_GetLocalNodeIdentifier (NetworkHandleType nmChannelHandle,uint8* nmNodeIdPtr)",
"comments": "Get node identifier configured for the local node."
},
"8": {
"name": "CanNm_RepeatMessageRequest",
"type": "Std_ReturnType CanNm_RepeatMessageRequest (NetworkHandleType nmChannelHandle)",
"comments": "Set Repeat Message Request Bit for NMPDU's transmitted next on the bus."
},
"10": {
"name": "CanNm_GetPduData",
"type": "Std_ReturnType CanNm_GetPduData (NetworkHandleType nmChannelHandle,uint8* nmPduDataPtr)",
"comments": "Get the whole PDU data out of the most recently received NM PDU."
},
"11": {
"name": "CanNm_GetState",
"type": "Std_ReturnType CanNm_GetState (NetworkHandleType nmChannelHandle,Nm_StateType* nmStatePtr,Nm_ModeType* nmModePtr)",
"comments": "Returns the state and the mode of the network management."
},
"241": {
"name": "CanNm_GetVersionInfo",
"type": "void CanNm_GetVersionInfo (Std_VersionInfoType* versioninfo)",
"comments": "This service returns the version information of this module."
},
"192": {
"name": "CanNm_RequestBusSynchronization",
"type": "Std_ReturnType CanNm_RequestBusSynchronization (NetworkHandleType nmChannelHandle)",
"comments": "Request bus synchronization."
},
"208": {
"name": "CanNm_CheckRemoteSleepIndication",
"type": "Std_ReturnType CanNm_CheckRemoteSleepIndication (NetworkHandleType nmChannelHandle,boolean* nmRemoteSleepIndPtr)",
"comments": "Check if remote sleep indication takes place or not."
},
"23": {
"name": "CanNm_SetSleepReadyBit",
"type": "Std_ReturnType CanNm_SetSleepReadyBit (NetworkHandleType nmChannelHandle,boolean nmSleepReadyBit)",
"comments": "Set the NM Coordinator Sleep Ready bit in the Control Bit Vector"
},
"242": {
"name": "CanNm_PnLearningRequest",
"type": "Std_ReturnType CanNm_PnLearningRequest (NetworkHandleType nmChannelHandle)",
"comments": "Set Repeat Message Request Bit and Partial Network Learning Bit for NM messages transmitted next on the bus. This will force all nodes to enter the PNC Learning Phase. This is needed for the optional Dynamic PNC-to-channel-mapping feature."
},
"244": {
"name": "CanNm_ActivateTxPnShutdownMsg",
"type": "Std_ReturnType CanNm_ActivateTxPnShutdownMsg (NetworkHandleType nmChannelHandle)",
"comments": "N Mind indicate to activate the transmission of PN shutdown messages on the given NM-Channel. This results in transmission of a NM-PDU with PN SR bit set to 1 (PN shutdown message)."
},
"245": {
"name": "CanNm_DeactivateTxPnShutdownMsg",
"type": "Std_ReturnType CanNm_DeactivateTxPnShutdownMsg (NetworkHandleType nmChannelHandle)",
"comments": "N Mindicate to deactivate the transmission of PN shutdown messages on the given NM-Channel. This results in transmission of usual NM-PDUs with PN SR bit set to 0."
},
"64": {
"name": "CanNm_TxConfirmation",
"type": "void CanNm_TxConfirmation (PduIdType TxPduId,Std_ReturnType result)",
"comments": "The lower layer communication interface module confirms the transmission of a PDU, or the failure to transmit a PDU."
},
"66": {
"name": "CanNm_RxIndication",
"type": "void CanNm_RxIndication (PduIdType RxPduId,const PduInfoType* PduInfoPtr)",
"comments": "Indication of a received PDU from a lower layer communication interface module."
},
"22": {
"name": "CanNm_ConfirmPnAvailability",
"type": "void CanNm_ConfirmPnAvailability (NetworkHandleType nmChannelHandle)",
"comments": "Enables the PN filter functionality on the indicated NM channel. Availability: The API is only available if CanNmGlobalPnSupport is TRUE."
},
"65": {
"name": "CanNm_TriggerTransmit",
"type": "Std_ReturnType CanNm_TriggerTransmit (PduIdType TxPduId,PduInfoType* PduInfoPtr)",
"comments": "Within this API, the upper layer module (called module) shall check whether the available data fits into the buffer size reported by PduInfoPtr->SduLength. If it fits, it shall copy its data into the buffer provided by PduInfoPtr->SduDataPtr and update the length of the actual copied data in PduInfoPtr->SduLength. If not, it returns E_NOT_OK without changing PduInfoPtr."
},
"19": {
"name": "CanNm_MainFunction",
"type": "void CanNm_MainFunction (void)",
"comments": "Main function of the CanNm which processes the algorithm described in that document."
}
}
},
"140": {
"name": "CAN State Manager",
"short_name": "CanSM",
"functions": {
"0": {
"name": "CanSM_Init",
"type": "void CanSM_Init (const CanSM_ConfigType* ConfigPtr)",
"comments": "This service initializes the CanSM module."
},
"20": {
"name": "CanSM_DeInit",
"type": "void CanSM_DeInit (void)",
"comments": "This service de-initializes the CanSM module."
},
"2": {
"name": "CanSM_RequestComMode",
"type": "Std_ReturnType CanSM_RequestComMode (NetworkHandleType network,ComM_ModeType ComM_Mode)",
"comments": "This service shall change the communication mode of a CAN network to the requested one."
},
"3": {
"name": "CanSM_GetCurrentComMode",
"type": "Std_ReturnType CanSM_GetCurrentComMode (NetworkHandleType network,ComM_ModeType* ComM_ModePtr)",
"comments": "This service shall put out the current communication mode of a CAN network."
},
"17": {
"name": "CanSM_StartWakeupSource",