DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: pwm Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_PWM_SECTION_7_3_2_Requirements

Quelle: SWS_PWMDriver.pdf (Seite 16) • Ziel-Anforderung: SWS_Pwm_00164

Wortlaut

7.3.2 Requirements [SWS_Pwm_00154] ⌈The PwmDriver shall support power state changes and its APIs when the corresponding configuration parameter PwmLowPowerStatesSupport is set to TRUE.⌋() [SWS_Pwm_00155] ⌈If the parameter PwmLowPowerStatesSupport is enabled then the APIs Pwm_PreparePowerState, Pwm_SetPowerState, Pwm_GetCurrentPowerState, Pwm_GetTargetPowerState shall be generated and shall be used to manage and get informations on power state transitions.⌋() [SWS_Pwm_00156] ⌈The APIs Pwm_GetTargetPowerState and Pwm_GetCurrentPowerState shall be respectively used to gather information on the requested and the target Pwm power states.⌋() [SWS_Pwm_00157] ⌈The API Pwm_PreparePowerState shall be used to start a power state transition. ⌋() [SWS_Pwm_00158] ⌈After preparation for a power state is achieved by ([SWS_Pwm_00157]) then the API Pwm_SetPowerState shall be used to achieve the requested power state of the Pwm module. In order to avoid incoherent power state conditions, some APIs (Pwm_SetPowerState, Pwm_PreparePowerState) have to be called in a given sequence, otherwise an error (if DET tracing is enabled) is stored and the action is interrupted. The Pwm Driver keeps track of the call sequence.⌋() [SWS_Pwm_00159] ⌈The Pwm Driver shall keep track of the call order of the APIs Pwm_SetPowerState and Pwm_PreparePowerState. In case the first one is called before the second one is called, a DET entry shall be stored and the action shall not be executed.⌋() [SWS_Pwm_00160] ⌈The Pwm Module shall keep track of the current and of the target powerstate if the parameter PwmLowPowerStatesSupport is set to TRUE⌋ (). [SWS_Pwm_00161] ⌈After the Initiliazation the power state of the module shall be always FULL POWER if the PwmLowPowerStatesSupport is set to TRUE.⌋() [SWS_Pwm_00162] ⌈The Pwm Driver shall support synchronuous and asynchronous power state transitions, depending on the value of the configuration parameter PwmPowerStateAsynchTransitionMode. ⌋() [SWS_Pwm_00163] ⌈In case the configuration parameter PwmPowerStateAsynchTransitionMode is set to FALSE, the preparation process and the setting process shall be considered concluded as soon as the respective APIs return. ⌋() [SWS_Pwm_00164] ⌈In case the configuration parameter PwmPowerStateAsynchTransitionMode is set to TRUE, the preparation process shall continue in background after the relative API returns and its completion shall be notified by means of the configured callback.⌋()

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 16
Ziel-Modul pwm (classic)
Ziel-Anforderung SWS_Pwm_00164
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95