SNIP_CLASSIC_LIN_SECTION_8_3_1_3_Lin_GetVersionInfo
Wortlaut
8.3.1.3 Lin_GetVersionInfo
[SWS_Lin_00161] Definition of API function Lin_GetVersionInfo ⌈
Service Name
Lin_GetVersionInfo
Syntax
void Lin_GetVersionInfo (
Std_VersionInfoType* versioninfo
)
Service ID [hex]
0x01
Sync/Async
Synchronous
Reentrancy
Reentrant
Parameters (in)
None
Parameters (inout)
None
Parameters (out)
versioninfo
Pointer to where is stored the version information of this module.
Return value
None
Description
Returns the version information of this module.
Available via
Lin.h
⌋
[SWS_Lin_00001]
Upstream requirements: SRS_BSW_00407
⌈The function Lin_GetVersionInfo shall return the version information of the LIN module. The version information includes:
• Two bytes for the vendor ID
• Two byte for the module ID
• Three bytes version number The numbering shall be vendor specific; it consists
of:
– The major, the minor and the patch version number of the module.
– The AUTOSAR specification version number shall not be included. The AUTOSAR specification version number is checked during compile time and
therefore not required in this API.
⌋
[SWS_Lin_00248] ⌈If development error detection for the LIN module is enabled: If the
parameter versioninfo is a NULL pointer, the function Lin_GetVersionInfo shall raise the
error LIN_E_PARAM_POINTER.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_LINDriver.pdf |
|---|---|
| Dokumentseite | Seite 41 |
| Ziel-Modul | lin (classic) |
| Ziel-Anforderung | SWS_Std_00015 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |