CLASSIC
Modul: pwm
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_PWM_SECTION_7_4_Duty_Cycle_Resolution_and_scaling
Wortlaut
7.4 Duty Cycle Resolution and scaling
[SWS_Pwm_00058] Upstream requirements: SRS_Pwm_12383
⌈The width of the duty cycle parameter is 16 Bits.⌋
[SWS_Pwm_00059] Upstream requirements: SRS_Pwm_12459
⌈The Pwm module shall comply with the following scaling scheme for the duty cycle:
• 0x0000 means 0%.
• 0x8000 means 100%. 0x8000 gives the highest resolution while allowing 100% duty cycle to be represented with a 16 bit value. As an implementation guide, the following source code example is given: AbsoluteDutyCycle = ((uint32)AbsolutePeriodTime * RelativeDutyCycle) >> 15;
⌋
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 18 |
| Ziel-Modul | pwm (classic) |
| Ziel-Anforderung | SWS_Pwm_00059 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |