CLASSIC
Modul: ethif
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_ETHIF_SECTION_8_4_6_2_EthIf_GetCurrentTime
Wortlaut
8.4.6.2 EthIf_GetCurrentTime
[SWS_EthIf_00154] Definition of API function EthIf_GetCurrentTime
Status: OBSOLETE
⌈
Service Name
EthIf_GetCurrentTime (obsolete)
Syntax
Std_ReturnType EthIf_GetCurrentTime (
uint8 CtrlIdx,
Eth_TimeStampQualType* timeQualPtr,
Eth_TimeStampType* timeStampPtr
)
Service ID [hex]
0x22
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
CtrlIdx
Index of the addresses ETH controller.
Parameters (inout)
None
timeQualPtr
quality of HW time stamp, e.g. based on current drift
Parameters (out)
timeStampPtr
current time stamp
Return value
Std_ReturnType
E_OK: successful
E_NOT_OK: failed
Description
Returns a time value out of the HW registers according to the capability of the HW. Is the HW
resolution is lower than the Eth_TimeStampType resolution resp. range, the remaining bits will
be filled with 0.
Important Note: EthIf_GetCurrentTime may be called within an exclusive area.
Tags: atp.Status=obsolete
Available via
EthIf.h
⌋
[SWS_EthIf_00155]
Status: OBSOLETE
⌈If development error detection is enabled: the function shall check that the service
EthIf_Init was previously called.
If the check fails, the function shall raise the
development error ETHIF_E_UNINIT.⌋
[SWS_EthIf_00157]
Status: OBSOLETE
⌈If development error detection is enabled: the function shall check the parameter
timeQualPtr and timeStampPtr for being valid. If the check fails, the function
shall raise the development error ETHIF_E_PARAM_POINTER.⌋
[SWS_EthIf_00158]
Status: OBSOLETE
⌈The function shall be pre compile time configurable On/Off by the configuration parameter: EthIfGlobalTimeSupport.⌋
[SWS_EthIf_00473]
Status: OBSOLETE
⌈The EthIf module shall apply appropriate mechanisms to allow calls of EthIf_GetCurrentTime API from other partitions than its main function, e.g. by providing
an EthIf satellite.⌋
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_EthernetInterface.pdf |
|---|---|
| Dokumentseite | Seite 140 |
| Ziel-Modul | ethif (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |