CAN Interface (CanIf)
The CanIf abstracts CAN hardware details and provides uniform access to multiple CAN controllers and transceivers for higher-layer modules (PduR, CanTp, CanNm, CanSM).
Funktionen — Übersicht
void CanIf_Init (const CanIf_ConfigType* ConfigPtr);This service Initializes internal and external interfaces of the CAN Interface for the further processing.void CanIf_DeInit (void);De-initializes the CanIf module.Std_ReturnType CanIf_SetControllerMode (uint8 ControllerId, Can_ControllerStateType ControllerMode);This service calls the corresponding CAN Driver service for changing of the CAN controller mode.Std_ReturnType CanIf_GetControllerMode (uint8 ControllerId, Can_ControllerStateType* ControllerModePtr);This service calls the corresponding CAN Driver service for obtaining the current status of the CAN controller.Std_ReturnType CanIf_GetControllerErrorState (uint8 ControllerId, Can_ErrorStateType* ErrorStatePtr);This service calls the corresponding CAN Driver service for obtaining the error state of the CAN controller.Std_ReturnType CanIf_Transmit (PduIdType TxPduId, const PduInfoType* PduInfoPtr);Requests transmission of a PDU.Std_ReturnType CanIf_ReadRxPduData (PduIdType CanIfRxSduId, PduInfoType* CanIfRxInfoPtr);This service provides the Data Length and the received data of the requested CanIfRxSduId to the calling upper layer.CanIf_NotifStatusType CanIf_ReadTxNotifStatus (PduIdType CanIfTxSduId);This service returns the confirmation status (confirmation occurred or not) of a specific static or dynamic CAN Tx L-PDU,...CanIf_NotifStatusType CanIf_ReadRxNotifStatus (PduIdType CanIfRxSduId);This service returns the indication status (indication occurred or not) of a specific CAN Rx L-PDU, requested by the CanIfRxSduId.Std_ReturnType CanIf_SetPduMode (uint8 ControllerId, CanIf_PduModeType PduModeRequest);This service sets the requested mode at the L-PDUs of a predefined logical PDU channel.Std_ReturnType CanIf_GetPduMode (uint8 ControllerId, CanIf_PduModeType* PduModePtr);This service reports the current mode of a requested PDU channel.void CanIf_GetVersionInfo (Std_VersionInfoType* VersionInfo);This service returns the version information of the called CAN Interface module.void CanIf_SetDynamicTxId (PduIdType CanIfTxSduId, Can_IdType CanId);This service reconfigures the corresponding CAN identifier of the requested CAN L-PDU.Std_ReturnType CanIf_SetTrcvMode (uint8 TransceiverId, CanTrcv_TrcvModeType TransceiverMode);This service changes the operation mode of the tansceiver TransceiverId, via calling the corresponding CAN Transceiver Driver...Std_ReturnType CanIf_GetTrcvMode (uint8 TransceiverId, CanTrcv_TrcvModeType* TransceiverModePtr);This function invokes CanTrcv_GetOpMode and updates the parameter TransceiverModePtr with the value OpMode provided by CanTrcv.Std_ReturnType CanIf_GetTrcvWakeupReason (uint8 TransceiverId, CanTrcv_TrcvWakeupReasonType* TrcvWuReasonPtr);This service returns the reason for the wake up of the transceiver TransceiverId, via calling the corresponding CAN...Std_ReturnType CanIf_SetTrcvWakeupMode (uint8 TransceiverId, CanTrcv_TrcvWakeupModeType TrcvWakeupMode);This function shall call CanTrcv_SetTrcvWakeupMode.Std_ReturnType CanIf_CheckWakeup (EcuM_WakeupSourceType WakeupSource);This service checks, whether an underlying CAN driver or a CAN transceiver driver already signals a wakeup event.Std_ReturnType CanIf_CheckValidation (EcuM_WakeupSourceType WakeupSource);This service is performed to validate a previous wakeup event.CanIf_NotifStatusType CanIf_GetTxConfirmationState (uint8 ControllerId);This service reports, if any TX confirmation has been done for the whole CAN controller since the last CAN controller start.Std_ReturnType CanIf_ClearTrcvWufFlag (uint8 TransceiverId);Requests the CanIf module to clear the WUF flag of the designated CAN transceiver.Std_ReturnType CanIf_CheckTrcvWakeFlag (uint8 TransceiverId);Requests the CanIf module to check the Wake flag of the designated CAN transceiver.Std_ReturnType CanIf_SetBaudrate (uint8 ControllerId, uint16 BaudRateConfigID);This service shall set the baud rate configuration of the CAN controller.Std_ReturnType CanIf_GetControllerRxErrorCounter (uint8 ControllerId, uint8* RxErrorCounterPtr);This service calls the corresponding CAN Driver service for obtaining the Rx error counter of the CAN controller.Std_ReturnType CanIf_GetControllerTxErrorCounter (uint8 ControllerId, uint8* TxErrorCounterPtr);This service calls the corresponding CAN Driver service for obtaining the Tx error counter of the CAN controller.Std_ReturnType CanIf_EnableBusMirroring (uint8 ControllerId, boolean MirroringActive);Enables or disables mirroring for a CAN controller.Std_ReturnType CanIf_TriggerTransmit (PduIdType TxPduId, PduInfoType* PduInfoPtr);Within this API, the upper layer module (called module) shall check whether the available data fits into the buffer size...void CanIf_TxConfirmation (PduIdType CanTxPduId);This service confirms a previously successfully processed transmission of a CAN TxPDU.void CanIf_RxIndication (const Can_HwType* Mailbox, const PduInfoType* PduInfoPtr);This service indicates a successful reception of a received CAN Rx L-PDU to the CanIf after passing all filters and validation...void CanIf_ControllerBusOff (uint8 ControllerId);This service indicates a Controller BusOff event referring to the corresponding CAN Controller with the abstract CanIf...void CanIf_ConfirmPnAvailability (uint8 TransceiverId);This service indicates that the transceiver is running in PN communication mode referring to the corresponding CAN transceiver...void CanIf_ClearTrcvWufFlagIndication (uint8 TransceiverId);This service indicates that the transceiver has cleared the WufFlag referring to the corresponding CAN transceiver with the...void CanIf_CheckTrcvWakeFlagIndication (uint8 TransceiverId);This service indicates that the check of the transceiver's wake-up flag has been finished by the corresponding CAN transceiver...void CanIf_ControllerModeIndication (uint8 ControllerId, Can_ControllerStateType ControllerMode);This service indicates a controller state transition referring to the corresponding CAN controller with the abstract CanIf...void CanIf_TrcvModeIndication (uint8 TransceiverId, CanTrcv_TrcvModeType TransceiverMode);This service indicates a transceiver state transition referring to the corresponding CAN transceiver with the abstract CanIf...void CanIf_ControllerErrorStatePassive (uint8 ControllerId, uint16 RxErrorCounter, uint16 TxErrorCounter);The function derives the ErrorCounterTreshold from RxErrorCounter/ TxErrorCounter values and reports it to the IdsM as...void CanIf_ErrorNotification (uint8 ControllerId, Can_ErrorType Can_ErrorType);The function shall derive the bus error source rx or tx from the parameter CanError and report the bus error as security event...Std_ReturnType <User_TriggerTransmit> (PduIdType TxPduId, PduInfoType* PduInfoPtr);Within this API, the upper layer module (called module) shall check whether the available data fits into the buffer size...void <User_TxConfirmation> (PduIdType TxPduId, Std_ReturnType result);The lower layer communication interface module confirms the transmission of a PDU, or the failure to transmit a PDU.void <User_RxIndication> (PduIdType RxPduId, const PduInfoType* PduInfoPtr);Indication of a received PDU from a lower layer communication interface module.void <User_ValidateWakeupEvent> (EcuM_WakeupSourceType sources);This service indicates if a wake up event initiated from the wake up source (CAN controller or transceiver) after a former...void <User_ControllerBusOff> (uint8 ControllerId);This service indicates a bus-off event to the corresponding upper layer module (mainly the CAN State Manager module).void <User_ConfirmPnAvailability> (uint8 TransceiverId);This service indicates that the CAN transceiver is running in PN communication mode.void <User_ClearTrcvWufFlagIndication> (uint8 TransceiverId);This service indicates that the CAN transceiver has cleared the WufFlag.void <User_CheckTrcvWakeFlagIndication> (uint8 TransceiverId);This service indicates that the wake up flag in the CAN transceiver is set.void <User_ControllerModeIndication> (uint8 ControllerId, Can_ControllerStateType ControllerMode);This service indicates a CAN controller state transition to the corresponding upper layer module (mainly the CAN State Manager...void <User_TrcvModeIndication> (uint8 TransceiverId, CanTrcv_TrcvModeType TransceiverMode);This service indicates a CAN transceiver state transition to the corresponding upper layer module (mainly the CAN State...
Typen — Übersicht
struct CanIf_ConfigTypeThis type defines a data structure for the post build parameters of the CAN interface for all underlying CAN drivers.enum CanIf_PduModeTypeThe PduMode of a channel defines its transmit or receive activity.enum CanIf_NotifStatusTypeType CanIf_NotifStatusType.
Funktionen & Typen — Detailansicht
دالة CanIf_Init [SWS_CANIF_00001] 📄 PDF
void CanIf_Init (const CanIf_ConfigType* ConfigPtr);
This service Initializes internal and external interfaces of the CAN Interface for the further processing.
دليل المنفِّذ قيد الإعداد (التعقيد I3)
دالة CanIf_DeInit [SWS_CANIF_91002] 📄 PDF
void CanIf_DeInit (void);
De-initializes the CanIf module.
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة CanIf_SetControllerMode [SWS_CANIF_00003] 📄 PDF
Std_ReturnType CanIf_SetControllerMode (uint8 ControllerId, Can_ControllerStateType ControllerMode);
This service calls the corresponding CAN Driver service for changing of the CAN controller mode.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_GetControllerMode [SWS_CANIF_00229] 📄 PDF
Std_ReturnType CanIf_GetControllerMode (uint8 ControllerId, Can_ControllerStateType* ControllerModePtr);
This service calls the corresponding CAN Driver service for obtaining the current status of the CAN controller.
دالة CanIf_GetControllerErrorState [SWS_CANIF_91001] 📄 PDF
Std_ReturnType CanIf_GetControllerErrorState (uint8 ControllerId, Can_ErrorStateType* ErrorStatePtr);
This service calls the corresponding CAN Driver service for obtaining the error state of the CAN controller.
دالة CanIf_Transmit [SWS_CANIF_00005] 📄 PDF
Std_ReturnType CanIf_Transmit (PduIdType TxPduId, const PduInfoType* PduInfoPtr);
Requests transmission of a PDU.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_ReadRxPduData [SWS_CANIF_00194] 📄 PDF
Std_ReturnType CanIf_ReadRxPduData (PduIdType CanIfRxSduId, PduInfoType* CanIfRxInfoPtr);
This service provides the Data Length and the received data of the requested CanIfRxSduId to the calling upper layer.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_ReadTxNotifStatus [SWS_CANIF_00202] 📄 PDF
CanIf_NotifStatusType CanIf_ReadTxNotifStatus (PduIdType CanIfTxSduId);
This service returns the confirmation status (confirmation occurred or not) of a specific static or dynamic CAN Tx L-PDU, requested by the CanIfTxSduId.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_ReadRxNotifStatus [SWS_CANIF_00230] 📄 PDF
CanIf_NotifStatusType CanIf_ReadRxNotifStatus (PduIdType CanIfRxSduId);
This service returns the indication status (indication occurred or not) of a specific CAN Rx L-PDU, requested by the CanIfRxSduId.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_SetPduMode [SWS_CANIF_00008] 📄 PDF
Std_ReturnType CanIf_SetPduMode (uint8 ControllerId, CanIf_PduModeType PduModeRequest);
This service sets the requested mode at the L-PDUs of a predefined logical PDU channel.
دليل المنفِّذ قيد الإعداد (التعقيد I3)
دالة CanIf_GetPduMode [SWS_CANIF_00009] 📄 PDF
Std_ReturnType CanIf_GetPduMode (uint8 ControllerId, CanIf_PduModeType* PduModePtr);
This service reports the current mode of a requested PDU channel.
دالة CanIf_GetVersionInfo [SWS_CANIF_00158] 📄 PDF
void CanIf_GetVersionInfo (Std_VersionInfoType* VersionInfo);
This service returns the version information of the called CAN Interface module.
دالة CanIf_SetDynamicTxId [SWS_CANIF_00189] 📄 PDF
void CanIf_SetDynamicTxId (PduIdType CanIfTxSduId, Can_IdType CanId);
This service reconfigures the corresponding CAN identifier of the requested CAN L-PDU.
دالة CanIf_SetTrcvMode [SWS_CANIF_00287] 📄 PDF
Std_ReturnType CanIf_SetTrcvMode (uint8 TransceiverId, CanTrcv_TrcvModeType TransceiverMode);
This service changes the operation mode of the tansceiver TransceiverId, via calling the corresponding CAN Transceiver Driver service.
دليل المنفِّذ قيد الإعداد (التعقيد I3)
دالة CanIf_GetTrcvMode [SWS_CANIF_00288] 📄 PDF
Std_ReturnType CanIf_GetTrcvMode (uint8 TransceiverId, CanTrcv_TrcvModeType* TransceiverModePtr);
This function invokes CanTrcv_GetOpMode and updates the parameter TransceiverModePtr with the value OpMode provided by CanTrcv.
دالة CanIf_GetTrcvWakeupReason [SWS_CANIF_00289] 📄 PDF
Std_ReturnType CanIf_GetTrcvWakeupReason (uint8 TransceiverId, CanTrcv_TrcvWakeupReasonType* TrcvWuReasonPtr);
This service returns the reason for the wake up of the transceiver TransceiverId, via calling the corresponding CAN Transceiver Driver service.
دالة CanIf_SetTrcvWakeupMode [SWS_CANIF_00290] 📄 PDF
Std_ReturnType CanIf_SetTrcvWakeupMode (uint8 TransceiverId, CanTrcv_TrcvWakeupModeType TrcvWakeupMode);
This function shall call CanTrcv_SetTrcvWakeupMode.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_CheckWakeup [SWS_CANIF_00219] 📄 PDF
Std_ReturnType CanIf_CheckWakeup (EcuM_WakeupSourceType WakeupSource);
This service checks, whether an underlying CAN driver or a CAN transceiver driver already signals a wakeup event.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_CheckValidation [SWS_CANIF_00178] 📄 PDF
Std_ReturnType CanIf_CheckValidation (EcuM_WakeupSourceType WakeupSource);
This service is performed to validate a previous wakeup event.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_GetTxConfirmationState [SWS_CANIF_00734] 📄 PDF
CanIf_NotifStatusType CanIf_GetTxConfirmationState (uint8 ControllerId);
This service reports, if any TX confirmation has been done for the whole CAN controller since the last CAN controller start.
دالة CanIf_ClearTrcvWufFlag [SWS_CANIF_00760] 📄 PDF
Std_ReturnType CanIf_ClearTrcvWufFlag (uint8 TransceiverId);
Requests the CanIf module to clear the WUF flag of the designated CAN transceiver.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_CheckTrcvWakeFlag [SWS_CANIF_00761] 📄 PDF
Std_ReturnType CanIf_CheckTrcvWakeFlag (uint8 TransceiverId);
Requests the CanIf module to check the Wake flag of the designated CAN transceiver.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_SetBaudrate [SWS_CANIF_00867] 📄 PDF
Std_ReturnType CanIf_SetBaudrate (uint8 ControllerId, uint16 BaudRateConfigID);
This service shall set the baud rate configuration of the CAN controller. Depending on necessary baud rate modifications the controller might have to reset.
دالة CanIf_GetControllerRxErrorCounter [SWS_CANIF_91003] 📄 PDF
Std_ReturnType CanIf_GetControllerRxErrorCounter (uint8 ControllerId, uint8* RxErrorCounterPtr);
This service calls the corresponding CAN Driver service for obtaining the Rx error counter of the CAN controller.
دالة CanIf_GetControllerTxErrorCounter [SWS_CANIF_91004] 📄 PDF
Std_ReturnType CanIf_GetControllerTxErrorCounter (uint8 ControllerId, uint8* TxErrorCounterPtr);
This service calls the corresponding CAN Driver service for obtaining the Tx error counter of the CAN controller.
دالة CanIf_EnableBusMirroring [SWS_CANIF_91005] 📄 PDF
Std_ReturnType CanIf_EnableBusMirroring (uint8 ControllerId, boolean MirroringActive);
Enables or disables mirroring for a CAN controller.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_TriggerTransmit [SWS_CANIF_00883] 📄 PDF
Std_ReturnType CanIf_TriggerTransmit (PduIdType TxPduId, PduInfoType* PduInfoPtr);
Within this API, the upper layer module (called module) shall check whether the available data fits into the buffer size reported by PduInfoPtr->SduLength. 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->SduLength. If not, it returns E_NOT_OK without changing PduInfoPtr.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_TxConfirmation [SWS_CANIF_00007] 📄 PDF
void CanIf_TxConfirmation (PduIdType CanTxPduId);
This service confirms a previously successfully processed transmission of a CAN TxPDU.
دليل المنفِّذ قيد الإعداد (التعقيد I3)
دالة CanIf_RxIndication [SWS_CANIF_00006] 📄 PDF
void CanIf_RxIndication (const Can_HwType* Mailbox, const PduInfoType* PduInfoPtr);
This service indicates a successful reception of a received CAN Rx L-PDU to the CanIf after passing all filters and validation checks.
دليل المنفِّذ قيد الإعداد (التعقيد I3)
دالة CanIf_ControllerBusOff [SWS_CANIF_00218] 📄 PDF
void CanIf_ControllerBusOff (uint8 ControllerId);
This service indicates a Controller BusOff event referring to the corresponding CAN Controller with the abstract CanIf ControllerId.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_ConfirmPnAvailability [SWS_CANIF_00815] 📄 PDF
void CanIf_ConfirmPnAvailability (uint8 TransceiverId);
This service indicates that the transceiver is running in PN communication mode referring to the corresponding CAN transceiver with the abstract CanIf TransceiverId.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_ClearTrcvWufFlagIndication [SWS_CANIF_00762] 📄 PDF
void CanIf_ClearTrcvWufFlagIndication (uint8 TransceiverId);
This service indicates that the transceiver has cleared the WufFlag referring to the corresponding CAN transceiver with the abstract CanIf TransceiverId.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_CheckTrcvWakeFlagIndication [SWS_CANIF_00763] 📄 PDF
void CanIf_CheckTrcvWakeFlagIndication (uint8 TransceiverId);
This service indicates that the check of the transceiver's wake-up flag has been finished by the corresponding CAN transceiver with the abstract CanIf TransceiverId. This indication is used to cope with the asynchronous transceiver communication.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_ControllerModeIndication [SWS_CANIF_00699] 📄 PDF
void CanIf_ControllerModeIndication (uint8 ControllerId, Can_ControllerStateType ControllerMode);
This service indicates a controller state transition referring to the corresponding CAN controller with the abstract CanIf ControllerId.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_TrcvModeIndication [SWS_CANIF_00764] 📄 PDF
void CanIf_TrcvModeIndication (uint8 TransceiverId, CanTrcv_TrcvModeType TransceiverMode);
This service indicates a transceiver state transition referring to the corresponding CAN transceiver with the abstract CanIf TransceiverId.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_ControllerErrorStatePassive [SWS_CANIF_91008] 📄 PDF
void CanIf_ControllerErrorStatePassive (uint8 ControllerId, uint16 RxErrorCounter, uint16 TxErrorCounter);
The function derives the ErrorCounterTreshold from RxErrorCounter/ TxErrorCounter values and reports it to the IdsM as security event CANIF_SEV_ERRORSTATE_PASSIVE to the IdsM. It also prepares the context data for the respective security event.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة CanIf_ErrorNotification [SWS_CANIF_91009] 📄 PDF
void CanIf_ErrorNotification (uint8 ControllerId, Can_ErrorType Can_ErrorType);
The function shall derive the bus error source rx or tx from the parameter CanError and report the bus error as security event CANIF_SEV_TX_ERROR_DETECTED or CANIF_SEV_RX_ ERROR_DETECTED. It also prepares the context data for the respective security event.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة <User_TriggerTransmit> [SWS_CANIF_00886] 📄 PDF
Std_ReturnType <User_TriggerTransmit> (PduIdType TxPduId, PduInfoType* PduInfoPtr);
Within this API, the upper layer module (called module) shall check whether the available data fits into the buffer size reported by PduInfoPtr->SduLength. 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->SduLength. If not, it returns E_NOT_OK without changing PduInfoPtr.
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة <User_TxConfirmation> [SWS_CANIF_00011] 📄 PDF
void <User_TxConfirmation> (PduIdType TxPduId, Std_ReturnType result);
The lower layer communication interface module confirms the transmission of a PDU, or the failure to transmit a PDU.
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة <User_RxIndication> [SWS_CANIF_00012] 📄 PDF
void <User_RxIndication> (PduIdType RxPduId, const PduInfoType* PduInfoPtr);
Indication of a received PDU from a lower layer communication interface module.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
دالة <User_ValidateWakeupEvent> [SWS_CANIF_00532] 📄 PDF
void <User_ValidateWakeupEvent> (EcuM_WakeupSourceType sources);
This service indicates if a wake up event initiated from the wake up source (CAN controller or transceiver) after a former request to the CAN Driver or CAN Transceiver Driver module is valid.
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة <User_ControllerBusOff> [SWS_CANIF_00014] 📄 PDF
void <User_ControllerBusOff> (uint8 ControllerId);
This service indicates a bus-off event to the corresponding upper layer module (mainly the CAN State Manager module).
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة <User_ConfirmPnAvailability> [SWS_CANIF_00821] 📄 PDF
void <User_ConfirmPnAvailability> (uint8 TransceiverId);
This service indicates that the CAN transceiver is running in PN communication mode.
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة <User_ClearTrcvWufFlagIndication> [SWS_CANIF_00788] 📄 PDF
void <User_ClearTrcvWufFlagIndication> (uint8 TransceiverId);
This service indicates that the CAN transceiver has cleared the WufFlag. This function is called in CanIf_ClearTrcvWufFlagIndication.
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة <User_CheckTrcvWakeFlagIndication> [SWS_CANIF_00814] 📄 PDF
void <User_CheckTrcvWakeFlagIndication> (uint8 TransceiverId);
This service indicates that the wake up flag in the CAN transceiver is set. This function is called in CanIf_CheckTrcvWakeFlagIndication.
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة <User_ControllerModeIndication> [SWS_CANIF_00687] 📄 PDF
void <User_ControllerModeIndication> (uint8 ControllerId, Can_ControllerStateType ControllerMode);
This service indicates a CAN controller state transition to the corresponding upper layer module (mainly the CAN State Manager module).
دليل المنفِّذ قيد الإعداد (التعقيد I1)
دالة <User_TrcvModeIndication> [SWS_CANIF_00693] 📄 PDF
void <User_TrcvModeIndication> (uint8 TransceiverId, CanTrcv_TrcvModeType TransceiverMode);
This service indicates a CAN transceiver state transition to the corresponding upper layer module (mainly the CAN State Manager module).
دليل المنفِّذ قيد الإعداد (التعقيد I1)
نوع CanIf_ConfigType [SWS_CANIF_00144] 📄 PDF
This type defines a data structure for the post build parameters of the CAN interface for all underlying CAN drivers. At initialization the CanIf gets a pointer to a structure of this type to get access to its configuration data, which is necessary for initialization.
نوع CanIf_PduModeType [SWS_CANIF_00137] 📄 PDF
The PduMode of a channel defines its transmit or receive activity. Communication direction (transmission and/or reception) of the channel can be controlled separately or together by upper layers.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
نوع CanIf_NotifStatusType [SWS_CANIF_00201] 📄 PDF
Type CanIf_NotifStatusType.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/CP_MOD_CanIf- Status
- unspecified
- Version
AUTOSAR/AP/record/CP_MOD_CanIf@rel:R20-11#c2099949- Content hash
c2099949- Source
- https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_CANInterface.pdf#nameddest=SWS_CANIF_00001
gemini-3.8-flash-low· 2026-10-13 · الأصل الألماني