CLASSIC
Modul: pwm
Rolle: constitutive
Konfidenz: 98%
SNIP_CLASSIC_PWM_SECTION_8_3_5_Pwm_SetOutputToIdle
Wortlaut
8.3.5 Pwm_SetOutputToIdle
[SWS_Pwm_91002] Definition of API function Pwm_SetOutputToIdle ⌈
Service Name
Pwm_SetOutputToIdle
Syntax
void Pwm_SetOutputToIdle (
Pwm_ChannelType ChannelNumber
)
Service ID [hex]
0x04
Sync/Async
Asynchronous
Reentrancy
Reentrant for different channel numbers
Parameters (in)
ChannelNumber
Numeric identifier of the PWM
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
Service sets the PWM output to the configured Idle state.
Available via
Pwm.h
⌋
[SWS_Pwm_00021]
Upstream requirements: SRS_Pwm_12358
⌈The function Pwm_SetOutputToIdle shall set immediately the PWM output to the
configured Idle state.⌋
Regarding
error
detection,
the
requirements
[SWS_Pwm_00117],
[SWS_Pwm_00047],
[SWS_Pwm_10051]
and
[SWS_Pwm_20051]
are
applicable to the function Pwm_SetOutputToIdle.
[SWS_Pwm_10084]
Upstream requirements: SRS_BSW_00171
⌈The function Pwm_SetOutputToIdle shall be pre compile time configurable On/Off
by the configuration parameter: PwmSetOutputToIdle.⌋
[SWS_Pwm_20084]
Upstream requirements: SRS_BSW_00171
⌈The function Pwm_SetOutputToIdle shall be configurable On/Off by the configuration parameter: PwmSetOutputToIdle {PWM_SET_OUTPUT_TO_IDLE_API}.⌋
[SWS_Pwm_10086] ⌈After the call of the function Pwm_SetOutputToIdle, variable
period type channels shall be reactivated using the Api Pwm_SetPeriodAndDuty to
activate the PWM channel with the new passed period.⌋
[SWS_Pwm_20086] ⌈After the call of the function Pwm_SetOutputToIdle, channels
shall be reactivated using the Api Pwm_SetDutyCycle to activate the PWM channel
with the old period.⌋
[SWS_Pwm_00119] ⌈After the call of the function Pwm_SetOutputToIdle, fixed period type channels shall be reactivated using only the API Pwm_SetDutyCycle to
activate the PWM channel with the old period.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Explicit mention of SWS_Pwm_91002 in the text of document AUTOSAR_CP_SWS_PWMDriver.pdf.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_PWMDriver.pdf |
|---|---|
| Dokumentseite | Seite 31 |
| Ziel-Modul | pwm (classic) |
| Ziel-Anforderung | SWS_Pwm_91002 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.98 |