SNIP_CLASSIC_CAN_SECTION_8_6_2_Optional_interfaces
Wortlaut
8.6.2 Optional interfaces
This section defines all interfaces, which are required to fulfill an optional functionality
of the module.
[SWS_CANIF_00294] Definition of optional interfaces requested by module Can
If ⌈
API Function
Header File
Description
Can_CheckWakeup
Can.h
This function checks if a wakeup has occurred for
the given controller.
Can_SetBaudrate
Can.h
This service shall set the baud rate configuration of
the CAN controller. Depending on necessary baud
rate modifications the controller might have to reset.
CanSM_CheckTransceiverWakeFlag
Indication
CanSM_CanIf.h
This callback function indicates the CanIf_Check
TrcvWakeFlag API process end for the notified CAN
Transceiver.
CanSM_ClearTrcvWufFlagIndication
CanSM_CanIf.h
This callback function shall indicate the CanIf_Clear
TrcvWufFlag API process end for the notified CAN
Transceiver.
CanSM_ConfirmCtrlPnAvailability
(draft)
CanSM_CanIf.h
This callback function indicates that the controller is
running in PN communication mode.
Tags: atp.Status=draft
CanSM_ConfirmPnAvailability
CanSM_CanIf.h
This callback function indicates that the transceiver
is running in PN communication mode.
CanSM_ControllerBusOff
CanSM_CanIf.h
This callback function notifies the CanSM about a
bus-off event on a certain CAN controller, which
needs to be considered with the specified bus-off
recovery handling for the impacted CAN network.
CanSM_ControllerModeIndication
CanSM_CanIf.h
This callback shall notify the CanSM module about a
CAN controller mode change.
CanSM_TransceiverModeIndication
CanSM_CanIf.h
This callback shall notify the CanSM module about a
CAN transceiver mode change.
CanTrcv_CheckWakeFlag
CanTrcv.h
Requests to check the status of the wakeup flag
from the transceiver hardware.
▽
△
API Function
Header File
Description
CanTrcv_CheckWakeup
CanTrcv.h
Service is called by underlying CANIF in case a
wake up interrupt is detected.
CanTrcv_GetBusWuReason
CanTrcv.h
Gets the wakeup reason for the Transceiver and
returns it in parameter Reason.
CanTrcv_GetOpMode
CanTrcv.h
Gets the mode of the Transceiver and returns it in
OpMode.
CanTrcv_SetOpMode
CanTrcv.h
Sets the mode of the Transceiver to the value Op
Mode.
CanTrcv_SetWakeupMode
CanTrcv.h
Enables, disables or clears wake-up events of the
Transceiver according to TrcvWakeupMode.
CanXL_Write
CanXL.h
This function is called by CanIf to pass a CAN XL
message to the CAN XL driver for transmission. It
provides the CAN XL specific parameters besides
the hardware handle and actual PDU information.
Det_ReportError
Det.h
Service to report development errors.
EcuM_ValidateWakeupEvent
EcuM.h
After wakeup, the ECU State Manager will stop the
process during the WAKEUP VALIDATION state/
sequence to wait for validation of the wakeup
event.This API service is used to indicate to the ECU
Manager module that the wakeup events indicated
in the sources parameter have been validated.
IdsM_SetSecurityEventWithContext
Data (obsolete)
IdsM.h
This API is the application interface to report
security events with context data to the IdsM.
Tags: atp.Status=obsolete
LSduR_CanIfRxIndication (draft)
LSduR_CanIf.h
Indication of a received PDU from a lower layer
communication interface module.
LSduR_CanIfTriggerTransmit (draft)
LSduR_CanIf.h
Within this API, the upper layer module (called
module) shall check whether the available data fits
into the buffer size reported by PduInfoPtr->Sdu
Length. If it fits, it shall copy its data into the buffer
provided by PduInfoPtr->SduDataPtr and update the
length of the actual copied data in PduInfoPtr->Sdu
Length. If not, it returns E_NOT_OK without
changing PduInfoPtr.
LSduR_CanIfTxConfirmation (draft)
LSduR_CanIf.h
The lower layer communication interface module
confirms the transmission of a PDU, or the failure to
transmit a PDU.
Mirror_ReportCanFrame
Mirror.h
Reports a received or transmitted CAN frame. All
received CAN frames that pass the hardware
acceptance filter are reported, independent of the
software filter configuration. Transmitted CAN
frames are reported when the transmission is
confirmed.
⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Mirror reporting and trigger transmit interfaces
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_CANInterface.pdf |
|---|---|
| Dokumentseite | Seite 138 |
| Ziel-Modul | can (classic) |
| Ziel-Anforderung | SWS_Mirror_01029 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.75 |