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
função 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.
Guia do implementador em breve (complexidade I3)
função CanIf_DeInit [SWS_CANIF_91002] 📄 PDF
void CanIf_DeInit (void);
De-initializes the CanIf module.
Guia do implementador em breve (complexidade I1)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
função 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.
função CanIf_Transmit [SWS_CANIF_00005] 📄 PDF
Std_ReturnType CanIf_Transmit (PduIdType TxPduId, const PduInfoType* PduInfoPtr);
Requests transmission of a PDU.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I3)
função 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.
função CanIf_GetVersionInfo [SWS_CANIF_00158] 📄 PDF
void CanIf_GetVersionInfo (Std_VersionInfoType* VersionInfo);
This service returns the version information of the called CAN Interface module.
função 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.
função 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.
Guia do implementador em breve (complexidade I3)
função 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.
função 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.
função CanIf_SetTrcvWakeupMode [SWS_CANIF_00290] 📄 PDF
Std_ReturnType CanIf_SetTrcvWakeupMode (uint8 TransceiverId, CanTrcv_TrcvWakeupModeType TrcvWakeupMode);
This function shall call CanTrcv_SetTrcvWakeupMode.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função CanIf_CheckValidation [SWS_CANIF_00178] 📄 PDF
Std_ReturnType CanIf_CheckValidation (EcuM_WakeupSourceType WakeupSource);
This service is performed to validate a previous wakeup event.
Guia do implementador em breve (complexidade I2)
função 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.
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
função 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.
função 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.
função CanIf_EnableBusMirroring [SWS_CANIF_91005] 📄 PDF
Std_ReturnType CanIf_EnableBusMirroring (uint8 ControllerId, boolean MirroringActive);
Enables or disables mirroring for a CAN controller.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função CanIf_TxConfirmation [SWS_CANIF_00007] 📄 PDF
void CanIf_TxConfirmation (PduIdType CanTxPduId);
This service confirms a previously successfully processed transmission of a CAN TxPDU.
Guia do implementador em breve (complexidade I3)
função 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.
Guia do implementador em breve (complexidade I3)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função 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.
Guia do implementador em breve (complexidade I2)
função <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.
Guia do implementador em breve (complexidade I1)
função <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.
Guia do implementador em breve (complexidade I1)
função <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.
Guia do implementador em breve (complexidade I2)
função <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.
Guia do implementador em breve (complexidade I1)
função <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).
Guia do implementador em breve (complexidade I1)
função <User_ConfirmPnAvailability> [SWS_CANIF_00821] 📄 PDF
void <User_ConfirmPnAvailability> (uint8 TransceiverId);
This service indicates that the CAN transceiver is running in PN communication mode.
Guia do implementador em breve (complexidade I1)
função <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.
Guia do implementador em breve (complexidade I1)
função <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.
Guia do implementador em breve (complexidade I1)
função <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).
Guia do implementador em breve (complexidade I1)
função <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).
Guia do implementador em breve (complexidade I1)
tipo 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.
tipo 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.
Guia do implementador em breve (complexidade I2)
tipo CanIf_NotifStatusType [SWS_CANIF_00201] 📄 PDF
Type CanIf_NotifStatusType.
Guia do implementador em breve (complexidade 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#46414314- Content hash
46414314- 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 · Original em alemão