CLASSIC
Modul: linsm
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_LINSM_SECTION_8_3_2_LinSM_ScheduleRequest
Wortlaut
8.3.2 LinSM_ScheduleRequest
The service LinSM_ScheduleRequest is only applicable for LIN master node.
[SWS_LinSM_00113] Definition of API function LinSM_ScheduleRequest
Upstream requirements: SRS_BSW_00369
⌈
Service Name
LinSM_ScheduleRequest
Syntax
Std_ReturnType LinSM_ScheduleRequest (
NetworkHandleType network,
LinIf_SchHandleType ScheduleTableIdx
)
Service ID [hex]
0x10
Sync/Async
Asynchronous
Reentrancy
Reentrant
network
Identification of the LIN channel
Parameters (in)
ScheduleTableIdx
Index of the scheduled table
Parameters (inout)
None
Parameters (out)
None
Return value
Std_ReturnType
E_OK - Schedule table request has been accepted.
E_NOT_OK - Not possible to perform the request, e.g. not
initialized.
Description
The upper layer requests a schedule table to be changed on one LIN network.
Available via
LinSM.h
⌋
[SWS_LinSM_00114] ⌈If LinSMDevErrorDetect is enabled: If the network parameter
has an invalid value then the error-code LINSM_E_NONEXISTENT_NETWORK shall
be reported to the DET module and E_NOT_OK shall be returned.⌋
[SWS_LinSM_00115] ⌈If LinSMDevErrorDetect is enabled: If the schedule parameter
has an invalid value, then the error-code LINSM_E_PARAMETER shall be reported to
the DET module and E_NOT_OK shall be returned.⌋
[SWS_LinSM_00116]
Upstream requirements: SRS_BSW_00406
⌈If LinSMDevErrorDetect is enabled: If the state LINSM_UNINIT is active then the
error-code LINSM_E_UNINIT shall be reported to the DET module and E_NOT_OK
shall be returned.⌋
[SWS_LinSM_10211] ⌈If the function LinSM_ScheduleRequest is called and the state
is not LINSM_FULL_COM, the LinSM_ScheduleRequest shall return directly with E_
NOT_OK.⌋
[SWS_LinSM_00163] ⌈If the function LinSM_ScheduleRequest is called, LinSMOverwritePendingScheduleRequestProcessing is set to FALSE and another schedule request on the same network is pending, the LinSM_ScheduleRequest shall return directly with E_NOT_OK.⌋
[SWS_LinSM_00165] ⌈If the function LinSM_ScheduleRequest is called, LinSMOverwritePendingScheduleRequestProcessing is set to TRUE and another schedule request on the same network is pending, the pending schedule request shall be overwritten with the new schedule request and return with E_OK.⌋
[SWS_LinSM_00241] ⌈The function LinSM_ScheduleRequest shall be available if the
LinSM module is configured as LIN master node on at least one channel.⌋
Note: In a pure LIN slave configuration, this function is not available. This depends on
the configuration parameters LinSMNodeType.
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_LINStateManager.pdf |
|---|---|
| Dokumentseite | Seite 34 |
| Ziel-Modul | linsm (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |