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

SNIP_CLASSIC_PWM_SECTION_8_7_API_parameter_checking

Quelle: SWS_PWMDriver.pdf (Seite 44) • Ziel-Anforderung: SWS_Pwm_20051

Wortlaut

8.7 API parameter checking [SWS_Pwm_10051] ⌈If development error detection for the Pwm module is enabled, and a development error occurs, then the corresponding PWM function shall report the error to the Default Error Tracer. ⌋ (SRS_BSW_00323, SRS_BSW_00386) [SWS_Pwm_20051] ⌈If development error detection for the Pwm module is enabled, and a development error occurs, then the corresponding PWM function shall skip the desired functionality in order to avoid any corruptions of data or hardware registers leaving the function without any actions. ⌋ (SRS_BSW_00323, SRS_BSW_00386) [SWS_Pwm_00117] ⌈If development error detection for the Pwm module is enabled: if any function (except Pwm_Init) is called before Pwm_Init has been called, the called function shall raise development error PWM_E_UNINIT. ⌋ (SRS_BSW_00406, SRS_BSW_00323, SRS_BSW_00386) [SWS_Pwm_00045] ⌈If development error detection for the Pwm module is enabled: The API Pwm_SetPeriodAndDuty() shall check if the given PWM channel is of the channel class type PWM_VARIABLE_PERIOD. If this is not the case the development error PWM_E_PERIOD_UNCHANGEABLE shall be called. ⌋ (SRS_BSW_00323, SRS_BSW_00386) [SWS_Pwm_00047] ⌈If development error detection for the Pwm module is enabled: the PWM functions shall check the parameter ChannelNumber and raise development error PWM_E_PARAM_CHANNEL if the parameter ChannelNumber is invalid. ⌋ (SRS_BSW_00323, SRS_BSW_00386)

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