CLASSIC
Modul: adc
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_ADC_SECTION_8_3_16_Adc_GetTargetPowerState
Wortlaut
8.3.16 Adc_GetTargetPowerState
[SWS_Adc_00477] Definition of API function Adc_GetTargetPowerState ⌈
Service Name
Adc_GetTargetPowerState
Syntax
Std_ReturnType Adc_GetTargetPowerState (
Adc_PowerStateType* TargetPowerState,
Adc_PowerStateRequestResultType* Result
)
Service ID [hex]
0x12
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
TargetPowerState
The Target power mode of the ADC HW Unit is returned in this
parameter
Parameters (out)
Result
If the API returns E_OK: ADC_SERVICE_ACCEPTED:Target
power mode was returned.
If the API returns E_NOT_OK: ADC_NOT_INIT: ADC Module not
initialized.
Return value
Std_ReturnType
E_OK: Mode could be read
E_NOT_OK: Service is rejected
Description
This API returns the Target power state of the ADC HW unit.
Available via
Adc.h
⌋
[SWS_Adc_00492] ⌈The API returns the requested power state of the HW unit. This
shall coincide with the current power state if no transition is ongoing.
The API is considered to always succeed except in case of HW failures.⌋
[SWS_Adc_00493] ⌈In case development error reporting is activated:
The API shall report the DET error ADC_E_UNINIT in case this API is called before
having initialized the HW unit.⌋
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_ADCDriver.pdf |
|---|---|
| Dokumentseite | Seite 77 |
| Ziel-Modul | adc (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |