CLASSIC
Modul: pwm
Rolle: constitutive
Konfidenz: 98%
SNIP_CLASSIC_PWM_SECTION_8_3_8_Pwm_EnableNotification
Wortlaut
8.3.8 Pwm_EnableNotification
[SWS_Pwm_91004] Definition of API function Pwm_EnableNotification ⌈
Service Name
Pwm_EnableNotification
Syntax
void Pwm_EnableNotification (
Pwm_ChannelType ChannelNumber,
Pwm_EdgeNotificationType Notification
)
Service ID [hex]
0x07
Sync/Async
Asynchronous
Reentrancy
Reentrant for different channel numbers
ChannelNumber
Numeric identifier of the PWM
Parameters (in)
Notification
Type of notification PWM_RISING_EDGE or PWM_FALLING_
EDGE or PWM_BOTH_EDGES
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
Service to enable the PWM signal edge notification according to notification parameter.
Available via
Pwm.h
⌋
[SWS_Pwm_00024]
Upstream requirements: SRS_Pwm_12378, SRS_Pwm_12299
⌈The function Pwm_EnableNotification shall enable the PWM signal edge notification according to notification parameter.⌋
[SWS_Pwm_00081] ⌈The function Pwm_EnableNotification shall cancel pending
interrupts.⌋
[SWS_Pwm_10113] ⌈The function Pwm_EnableNotification shall be pre compile
time configurable On/Off using the configuration parameter: PwmNotificationSupported.⌋
[SWS_Pwm_20113] ⌈The function Pwm_EnableNotification shall be configurable On/Off by the configuration parameter:
PwmNotificationSupported
{PWM_NOTIFICATION_SUPPORTED}.
Regarding
error
detection,
the
requirements
[SWS_Pwm_00117],
[SWS_Pwm_00047],
[SWS_Pwm_10051]
and
[SWS_Pwm_20051]
are
applicable to the function Pwm_EnableNotification.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Explicit mention of SWS_Pwm_91004 in the text of document AUTOSAR_CP_SWS_PWMDriver.pdf.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_PWMDriver.pdf |
|---|---|
| Dokumentseite | Seite 35 |
| Ziel-Modul | pwm (classic) |
| Ziel-Anforderung | SWS_Pwm_91004 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.98 |