SNIP_CLASSIC_OS_SECTION_8_4_34_EnableInterruptSource
Wortlaut
8.4.34 EnableInterruptSource
[SWS_Os_91020] Definition of API function EnableInterruptSource ⌈
Service Name
EnableInterruptSource
Syntax
StatusType EnableInterruptSource (
ISRType ISRID,
boolean ClearPending
)
Service ID [hex]
0x31
Sync/Async
Synchronous
Reentrancy
Reentrant
ISRID
The ID of a category 2 ISR.
Parameters (in)
ClearPending
Defines whether the pending flag shall be cleared (TRUE) or not
(FALSE).
Parameters (inout)
None
Parameters (out)
None
Return value
StatusType
E_OK No error.
E_OS_ID ISRID is not a valid category 2 ISR identifier
(EXTENDED status)
E_OS_CALLEVEL Wrong call context of the API function
(EXTENDED status)
E_OS_ACCESS The calling application is not the owner of the ISR
passed in ISRID (Service Protection)
Description
Enables the interrupt source by modifying the interrupt controller registers. Additionally it may
clear the interrupt pending flag
Available via
Os.h
⌋(SRS_Os_11011)
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Explicit mention of SWS_Os_91020 in the text of document AUTOSAR_CP_SWS_OS.pdf.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_OS.pdf |
|---|---|
| Dokumentseite | Seite 177 |
| Ziel-Modul | os (classic) |
| Ziel-Anforderung | SWS_Os_91020 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.98 |