SNIP_CLASSIC_CAN_SECTION_8_3_2_4_Can_EnableControllerInterrupts
Wortlaut
8.3.2.4 Can_EnableControllerInterrupts
[SWS_Can_00232] Definition of API function Can_EnableControllerInterrupts
Upstream requirements: SRS_BSW_00312
⌈
Service Name
Can_EnableControllerInterrupts
Syntax
void Can_EnableControllerInterrupts (
uint8 Controller
)
Service ID [hex]
0x05
Sync/Async
Synchronous
Reentrancy
Reentrant
Parameters (in)
Controller
CAN controller for which interrupts shall be re-enabled
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
This function enables all allowed interrupts.
Available via
Can.h
⌋
[SWS_Can_00050]
Upstream requirements: SRS_Can_01043
⌈The function Can_EnableControllerInterrupts shall enable all interrupts that
must be enabled according the current software status.⌋
[SWS_Can_00202] applies to this function.
[SWS_Can_00208] ⌈The function Can_EnableControllerInterrupts shall perform no action when Can_DisableControllerInterrupts has not been called
before.⌋
See also implementation example for “Can_DisableControllerInterrupts”.
[SWS_Can_00209] ⌈If development error detection for the Can module is enabled:
The function Can_EnableControllerInterrupts shall raise the error CAN_E_UNINIT if the driver not yet initialized.⌋
[SWS_Can_00210] ⌈If development error detection for the Can module is enabled:
The function Can_EnableControllerInterrupts shall raise the error CAN_E_PARAM_CONTROLLER if the parameter Controller is out of range.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Explicit mention of SWS_Can_00232 in the text of document AUTOSAR_CP_SWS_CANDriver.pdf.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_CANDriver.pdf |
|---|---|
| Dokumentseite | Seite 62 |
| Ziel-Modul | can (classic) |
| Ziel-Anforderung | SWS_Can_00232 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.98 |