CLASSIC
Modul: pwm
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_PWM_SECTION_8_3_11_Pwm_GetTargetPowerState
Wortlaut
8.3.11 Pwm_GetTargetPowerState
[SWS_Pwm_00180] Definition of API function Pwm_GetTargetPowerState ⌈
Service Name
Pwm_GetTargetPowerState
Syntax
Std_ReturnType Pwm_GetTargetPowerState (
Pwm_PowerStateType* TargetPowerState,
Pwm_PowerStateRequestResultType* Result
)
Service ID [hex]
0x0b
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
TargetPowerState
The Target power mode of the PWM HW Unit is returned in this
parameter
Parameters (out)
Result
If the API returns E_OK: PWM_SERVICE_ACCEPTED:Target
power mode was returned.
If the API returns E_NOT_OK: PWM_NOT_INIT: PWM 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 PWM HW unit.
Available via
Pwm.h
⌋
[SWS_Pwm_00181] ⌈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.⌋
In case development error reporting is activated:
[SWS_Pwm_00182] ⌈The API shall report the development error PWM_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_PWMDriver.pdf |
|---|---|
| Dokumentseite | Seite 38 |
| Ziel-Modul | pwm (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |