CLASSIC
Modul: eth
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_ETH_SECTION_8_3_21_Eth_GetEgressTimeStamp
Wortlaut
8.3.21 Eth_GetEgressTimeStamp
[SWS_Eth_00190] Definition of API function Eth_GetEgressTimeStamp ⌈
Service Name
Eth_GetEgressTimeStamp
Syntax
Std_ReturnType Eth_GetEgressTimeStamp (
uint8 CtrlIdx,
Eth_BufIdxType BufIdx,
TimeStampQualType* timeQualPtr,
TimeStampType* timeStampPtr
)
Service ID [hex]
0x18
Sync/Async
Synchronous
Reentrancy
Non Reentrant
CtrlIdx
Index of the addresses controller.
Parameters (in)
BufIdx
Index of the message buffer, where Application expects egress
time stamping
Parameters (inout)
None
Parameters (out)
timeQualPtr
quality of HW time stamp, e.g. based on current drift
▽
△
timeStampPtr
current time stamp
Return value
Std_ReturnType
E_OK: success
E_NOT_OK: failed to read time stamp.
Description
Reads back the egress time stamp on a dedicated message object. It must be called within the
TxConfirmation() function.
Available via
Eth.h
⌋()
[SWS_Eth_00191] ⌈If development error detection is enabled: the function shall check
that the service Eth_Init was previously called. If the check fails, the function shall raise
the development error ETH_E_UNINIT.⌋()
[SWS_Eth_00192] ⌈If development error detection is enabled: the function shall check
the parameter CtrlIdx for being valid. If the check fails, the function shall raise the
development error ETH_E_INV_CTRL_IDX.⌋()
[SWS_Eth_00193] ⌈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 ETH_E_PARAM_POINTER.⌋()
[SWS_Eth_00212] ⌈The function shall be pre compile time configurable On/Off by the
configuration parameter: EthGlobalTimeSupport [ECUC_Eth_00037].⌋()
[SWS_Eth_00194] ⌈Eth_Init() shall be called before Eth_GetEgressTimeStamp().⌋()
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_EthernetDriver.pdf |
|---|---|
| Dokumentseite | Seite 89 |
| Ziel-Modul | eth (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |