CLASSIC
Modul: linif
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_LINIF_SECTION_8_4_1_LinIf_MainFunction__LinIfChannel_ShortName
Wortlaut
8.4.1 LinIf_MainFunction_<LinIfChannel.ShortName>
[SWS_LinIf_00384] Definition of scheduled function LinIf_MainFunction_<LinIf
Channel.ShortName>
Upstream requirements: SRS_BSW_00373, SRS_Lin_01546, SRS_Lin_01561, SRS_Lin_01555
⌈
Service Name
LinIf_MainFunction_<LinIfChannel.ShortName>
Syntax
void LinIf_MainFunction_<LinIfChannel.ShortName> (
void
)
Service ID [hex]
0x80
Description
The main processing function of the LIN Interface.
Available via
SchM_LinIf.h
⌋
Design hint: The function LinIf_MainFunction_<LinIfChannel.ShortName>
may be interrupted by other LIN Interface functions. Critical areas that are also modified by other functions shall be protected. Other LIN Interface API calls that may touch
the same resources are the LinIf_GotoSleep, LinIf_Transmit, LinIf_ScheduleRequest and LinIf_Wakeup, and potentially also LinIf_Init, LinTp_Init
and LinTp_Shutdown.
[SWS_LinIf_00725]
⌈The
function
LinIf_MainFunction_<LinIfChannel.-
ShortName> shall exist once per LIN channel of the LIN Interface module.⌋
[SWS_LinIf_00726] ⌈The function name of each instance of the LinIf MainFunction shall be LinIf_MainFunction_<LinIfChannel.ShortName> where <LinIfChannel.ShortName> corresponds to the Short Name of the respective LIN channel (LinIfChannel).⌋
[SWS_LinIf_00473]
⌈The
function
LinIf_MainFunction_<LinIfChannel.-
ShortName> shall operate per LIN channel of the LIN Interface module.⌋
[SWS_LinIf_00286]
⌈The
function
LinIf_MainFunction_<LinIfChannel.-
ShortName> shall poll the Schedule Table Manager which frame shall be transported.
This requirement is only applicable to LIN master nodes.⌋
[SWS_LinIf_00287] ⌈Only the function LinIf_MainFunction_<LinIfChannel.-
ShortName> shall process the transportation (transmission and reception) of frames.
This requirement is only applicable to LIN master nodes.⌋
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_LINInterface.pdf |
|---|---|
| Dokumentseite | Seite 119 |
| Ziel-Modul | linif (classic) |
| Ziel-Anforderung | SWS_LinIf_00726 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |