TTCAN Interface (TtcanIf)
AUTOSAR Classic Communication HW Abstraction-Modul TTCAN Interface (TtcanIf, Spezifikation: AUTOSAR_CP_SWS_TTCANInterface.pdf, AUTOSAR_SWS_TTCANInterface.pdf).
Funktionen — Übersicht
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...Std_ReturnType CanIf_TTGetControllerTime (uint8 ControllerId, CanIf_TTTimeType* CanIf_TTGlobalTime, CanIf_TTTimeType* CanIf_TTLocalTime, CanIf_TTTimeType* CanIf_TTCycleTime, uint8* CanIf_TTCycleCount);Gets the current values for the global, local and cycle time and the cycle count of the controllerStd_ReturnType CanIf_TTGetMasterState (uint8 ControllerId, CanIf_TTMasterStateType* CanIf_TTMasterState);Gets the master state.Std_ReturnType CanIf_TTGetNTUActual (uint8 ControllerId, float32 CanIf_TTNTUAct);Gets the actual value of NTU (network time unit).Std_ReturnType CanIf_TTGetErrorLevel (uint8 ControllerId, CanIf_TTErrorLevelType* CanIf_TTErrorLevel);Gets the error level.Std_ReturnType CanIf_TTSetNextIsGap (uint8 ControllerId);Sets the "Next_is_Gap" bit.Std_ReturnType CanIf_TTSetEndOfGap (uint8 ControllerId);Signals the end of a gap.Std_ReturnType CanIf_TTSetTimeCommand (uint8 ControllerId);Adjusts the global time at the beginning of the next basic cycle by the amount of "global time preset"Std_ReturnType CanIf_TTGlobalTimePreset (uint8 ControllerId, CanIf_TTTimeType CanIf_TTGlobalTimePreset);Sets the value of "global time preset".Std_ReturnType CanIf_TTSetExtClockSyncCommand (uint8 ControllerId);Adjusts the NTU (network time unit) according to the value given by "NTU adjust".Std_ReturnType CanIf_TTSetNTUAdjust (uint8 ControllerId, float32 CanIf_TTNTUAdjust);Sets the value of "NTU adjust".void CanIf_TTJobListExec_<Controller> (void);Processes the job list of the TTCAN controller.Std_ReturnType CanIf_TTGetSyncQuality (uint8 ControllerId, boolean* CanIf_TTClockSpeed, boolean* CanIf_TTGlobalTimePhase);Gets the synchronization quality.Std_ReturnType CanIf_TTSetTimeMark (uint8 ControllerId, CanIf_TTTimeType CanIf_TTTimeMark, CanIf_TTTimeSourceType CanIf_TTTimeSource);Sets a new value for the time mark for the given time source.Std_ReturnType CanIf_TTCancelTimeMark (uint8 ControllerId);Cancels the time mark.Std_ReturnType CanIf_TTAckTimeMark (uint8 ControllerId);Acknowledges the time mark interrupt by resetting the flag in the interrupt vector register.Std_ReturnType CanIf_TTEnableTimeMarkIRQ (uint8 ControllerId);Enables the time mark interrupt.Std_ReturnType CanIf_TTDisableTimeMarkIRQ (uint8 ControllerId);Disables the time mark interrupt.Std_ReturnType CanIf_TTGetTimeMarkIRQStatus (uint8 ControllerId, boolean* CanIf_TTIRQStatus);Gets the IRQ status of the time mark.Std_ReturnType CanIf_TTApplWatchdogError (uint8 ControllerId);Reports an application watchdog error.Std_ReturnType CanIf_TTTimingError (uint8 ControllerId, CanIf_TTTimingErrorIRQType CanIf_TTTimingErrorIRQ);Reports one of the following errors: • Change of error level • Tx overflow / underflow • Synchronization failed • Init watch...Std_ReturnType CanIf_TTGap (uint8 ControllerId);Reports the occurrence of a gap.Std_ReturnType CanIf_TTStartOfCycle (uint8 ControllerId, uint8 CanIf_TTCycleCount);Reports the start of a basic cycle.Std_ReturnType CanIf_TTTimeDisc (uint8 ControllerId);Reports a time discontinuity.Std_ReturnType CanIf_TTMasterStateChange (uint8 ControllerId, CanIf_TTMasterStateType CanIf_TTMasterState);Reports change of the master state between potential and current master.void CanIf_TTSevereError (uint8 ControllerId, CanIf_TTSevereErrorEnumType CanIf_TTSevereError);Reports one of the following errors: • failed to serve appl.
Typen — Übersicht
struct CanIf_TTTimeType16 bit value representing time values of TTCAN, e.struct CanIf_TTMasterStateTypeMaster state type including sync mode, master-slave mode and current ref trigger offsetstruct CanIf_TTErrorLevelTypeTTCAN error level including min and max values of message status countenum CanIf_TTTimeSourceTypeTime source of time values in TTCANstruct CanIf_TTTimingErrorIRQTypeCombines all events that are reported by CanIf_TTTimingError (event indication and error level)enum CanIf_TTMasterSlaveModeTypeMaster-Slave Modeenum CanIf_TTSyncModeEnumTypeSync modeenum CanIf_TTErrorLevelEnumTypeError level (S0-S3)enum CanIf_TTEventEnumTypeEvent that causes a Timing/Error IRQenum CanIf_TTSevereErrorEnumTypeEvent that causes a severe error
Anforderungen — Übersicht
SWS_TtCanIf_00002The Copy Operation into/from the TTCAN Controller shall be scheduled within a Job List.SWS_TtCanIf_00004If a Job List is used, the TTCAN Job List Execution Function ( JLEF ) shall execute the Communication Jobs of the Job List...SWS_TtCanIf_00006The API names of the JLEF shall obey the following pattern: • CanIf_TTJobListExec_0() for Controller # 0 •...SWS_TtCanIf_00007If the JLEF lost synchronisation to the Local Time of the TTCAN Controller then the function Dem_SetEventStatus(CANIF_TT_E_-...SWS_TtCanIf_00008Extended Production Errors of TtcanIf are defined in 7.SWS_TtCanIf_00010If parameter Controller of CanIf_TTGetController- Time() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00011Caveats of CanIf_TTGetControllerTime() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00012If parameter Controller of CanIf_TTGetMasterState () has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00013Caveats of CanIf_TTGetMasterState() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00014If parameter Controller of CanIf_TTGetNTUActual() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00015Caveats of CanIf_TTGetNTUActual() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00016If parameter Controller of CanIf_TTGetErrorLevel() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00017Caveats of CanIf_TTGetErrorLevel() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00018If parameter Controller of CanIf_TTSetNextIsGap() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00019Caveats of CanIf_TTSetNextIsGap() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00020If parameter Controller of CanIf_TTSetEndOfGap() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00021Caveats of CanIf_TTSetEndOfGap() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00022If parameter Controller of CanIf_TTSetTimeCommand () has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00023Caveats of CanIf_TTSetTimeCommand() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00024If parameter Controller of CanIf_TTGlobalTimePre- set() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00025Caveats of CanIf_TTGlobalTimePreset() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00026If parameter Controller of CanIf_TTSe- tExtClockSyncCommand() has an invalid value and if development error de- tection is...SWS_TtCanIf_00027Caveats of CanIf_TTSetExtClockSyncCommand() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00028If parameter Controller of CanIf_TTSetNTUAdjust() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00029Caveats of CanIf_TTSetNTUAdjust() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00032The function CanIf_TTJobListExec_() shall exist once per TTCAN Controller , which use a Job List.SWS_TtCanIf_00033The function name of each instance of CanIf_TTJobLis- tExec_() shall contain the index of the respective TTCAN Con- troller.SWS_TtCanIf_00034Caveats of CanIf_TTJobListExec_() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00035If parameter Controller of CanIf_TTGetSyncQuality () has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00036Caveats of CanIf_TTGetSyncQuality() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00037If parameter Controller of CanIf_TTSetTimeMark() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00038Caveats of CanIf_TTSetTimeMark() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00039If parameter Controller of CanIf_TTCancelTimeMark () has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00040Caveats of CanIf_TTCancelTimeMark() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00041If parameter Controller of CanIf_TTAckTimeMark() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00042Caveats of CanIf_TTAckTimeMark() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00043If parameter Controller of CanIf_TTEnable- TimeMarkIRQ() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00044Caveats of CanIf_TTEnableTimeMarkIRQ() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00045If parameter Controller of CanIf_TTDisable- TimeMarkIRQ() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00046Caveats of CanIf_TTDisableTimeMarkIRQ() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00047If parameter Controller of CanIf_TTGet- TimeMarkIRQStatus() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00048Caveats of CanIf_TTGetTimeMarkIRQStatus() : TtcanIf has to be initialized before this API service may be called.SWS_TtCanIf_00050If parameter ControllerId of CanIf_TTApplWatch- dogError() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00051If parameter ControllerId of CanIf_TTTimingError() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00052If parameter ControllerId of CanIf_TTGap() has an in- valid value and if development error detection is enabled (i.SWS_TtCanIf_00053If parameter ControllerId of CanIf_TTStartOfCycle () has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00054If parameter ControllerId of CanIf_TTTimeDisc() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00055If parameter ControllerId of CanIf_TTMasterState- Change() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00056Can_TTGetControllerTime Ttcan.SWS_TtCanIf_00057Can_TTAckTimeMark Ttcan.SWS_TtCanIf_00066If development error detection for TtcanIf is enabled: The function CanIf_TTGetControllerTime() shall raise the error...SWS_TtCanIf_00068If development error detection for TtcanIf is enabled: The function CanIf_TTGetMasterState() shall raise the error...SWS_TtCanIf_00071If development error detection for TtcanIf is enabled: The function CanIf_TTGetErrorLevel() shall raise the error...SWS_TtCanIf_00081If development error detection for TtcanIf is enabled: The function CanIf_TTGetSyncQuality() shall raise the error...SWS_TtCanIf_00088If development error detection for TtcanIf is enabled: The function CanIf_TTGetTimeMarkIRQStatus() shall raise the error...SWS_TtCanIf_00101The function CanIf_TTGetControllerTime() shall call Can_TTGetControllerTime(Controller, Can_TTGlobalTime, CanTT- LocalTime,...SWS_TtCanIf_00102The function CanIf_TTGetMasterState() shall call Can_TTGetMasterState(Controller, Can_TTMasterState).SWS_TtCanIf_00103The function CanIf_TTGetNTUActual() shall call Can_- TTGetNTUActual(Controller, Can_TTTURAct).SWS_TtCanIf_00104The function CanIf_TTGetErrorLevel() shall call Can_- TTGetErrorLevel(Controller, Can_TTErrorLevel).SWS_TtCanIf_00105The function CanIf_TTSetNextIsGap() shall call Can_- TTSetNextIsGap(Controller).SWS_TtCanIf_00106The function CanIf_TTSetEndOfGap() shall call Can_- TTSetNextIsGap(Controller).SWS_TtCanIf_00107The function CanIf_TTSetTimeCommand() shall call Can_TTSetTimeCommand(Controller).SWS_TtCanIf_00108The function CanIf_TTGlobalTimePreset() shall call Can_TTGlobalTimePreset(Controller, Can_TTGlobalTimePreset).SWS_TtCanIf_00109The function CanIf_TTSetExtClockSyncCommand() shall call Can_TTSetExtClockSyncCommand(Controller).SWS_TtCanIf_00110The function CanIf_TTSetNTUAdjust() shall call Can_- TTSetNTUAdjust(Controller, Can_TTNTUAdjust).SWS_TtCanIf_00112The function CanIf_TTGetSyncQuality() shall call Can_TTGetSyncQuality(Controller, Can_TTClockSpeed, Can_TTGlob- alTimePhase).SWS_TtCanIf_00113The function CanIf_TTSetTimeMark() shall call Can_- TTSetTimeMark(Controller, Can_TTTimeMark, Can_TTTimeSource).SWS_TtCanIf_00114The function CanIf_TTCancelTimeMark() shall call Can_TTCancelTimeMark(Controller).SWS_TtCanIf_00115The function CanIf_TTAckTimeMark() shall call Can_- TTAckTimeMark(Controller).SWS_TtCanIf_00116The function CanIf_TTEnableTimeMarkIRQ() shall call Can_TTEnableTimeMarkIRQ(Controller).SWS_TtCanIf_00117The function CanIf_TTDisableTimeMarkIRQ() shall call Can_TTDisableTimeMarkIRQ(Controller).SWS_TtCanIf_00119The function CanIf_TTGetTimeMarkIRQStatus() shall call Can_TTGetTimeMarkIRQStatus(Controller, Can_TTIRQStatus).SWS_TtCanIf_00120If a CanIf Controller mode state machine is either in state CAN_CS_STARTED , CAN_CS_STOPPED or CAN_CS_SLEEP when function...SWS_TtCanIf_00121If a CanIf Controller mode state machine is in state CAN_CS_- STARTED when the function CanIf_TTSevereError(ControllerId,...SWS_TtCanIf_00123If parameter ControllerId of CanIf_TTSevereError() has an invalid value and if development error detection is enabled (i.SWS_TtCanIf_00124Module Header File Imported Type Can_GeneralTypes.SWS_TtCanIf_00141If a Job List is configured for a Tx L-PDU (see CanIfT- TJoblist ), a function call of CanIf_Transmit() (see SWS_CanIf_00318 )...SWS_TtCanIf_00143For each Controller that is controlled by TtcanIf one dedicated Job List and one dedicated JLEF (refer to section 7.SWS_TtCanIf_00144If during JLEF () returns E_- NOT_OK , TtcanIf shall not call Can_Write() afterwards.SWS_TtCanIf_00145If the JLEF was executed successfully, then the func- tion Dem_SetEventStatus(CANIF_TT_E_JLE_SYNC, DEM_EVENT_STATUS_- PASSED)...SWS_TtCanIf_99999These requirements are not applicable to this specification.
Funktionen & Typen — Detailansicht
función <User_TriggerTransmit> [SWS_TtCanIf_00058] 📄 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.
función CanIf_TTGetControllerTime [SWS_TtCanIf_00065] 📄 PDF
Std_ReturnType CanIf_TTGetControllerTime(uint8 ControllerId, CanIf_TTTimeType* CanIf_TTGlobalTime, CanIf_TTTimeType* CanIf_TTLocalTime, CanIf_TTTimeType* CanIf_TTCycleTime, uint8* CanIf_TTCycleCount);
Gets the current values for the global, local and cycle time and the cycle count of the controller
función CanIf_TTGetMasterState [SWS_TtCanIf_00067] 📄 PDF
Std_ReturnType CanIf_TTGetMasterState(uint8 ControllerId, CanIf_TTMasterStateType* CanIf_TTMasterState);
Gets the master state. The master state includes the sync mode (sync_off, synchronizing, in_ gap, in_schedule) the master-slave mode (master_off, slave, backup_master, current_master) and the current value for ref trigger offset.
función CanIf_TTGetNTUActual [SWS_TtCanIf_00069] 📄 PDF
Std_ReturnType CanIf_TTGetNTUActual(uint8 ControllerId, float32 CanIf_TTNTUAct);
Gets the actual value of NTU (network time unit). Together with the local oscillator period, the actual value of NTU can be derived from the actual value of TUR.
función CanIf_TTGetErrorLevel [SWS_TtCanIf_00070] 📄 PDF
Std_ReturnType CanIf_TTGetErrorLevel(uint8 ControllerId, CanIf_TTErrorLevelType* CanIf_TTErrorLevel);
Gets the error level. This includes the severity of the error level (S0-S3) and the minimum and maximum value of the message status count.
función CanIf_TTSetNextIsGap [SWS_TtCanIf_00072] 📄 PDF
Std_ReturnType CanIf_TTSetNextIsGap(uint8 ControllerId);
Sets the "Next_is_Gap" bit.
función CanIf_TTSetEndOfGap [SWS_TtCanIf_00073] 📄 PDF
Std_ReturnType CanIf_TTSetEndOfGap(uint8 ControllerId);
Signals the end of a gap.
función CanIf_TTSetTimeCommand [SWS_TtCanIf_00074] 📄 PDF
Std_ReturnType CanIf_TTSetTimeCommand(uint8 ControllerId);
Adjusts the global time at the beginning of the next basic cycle by the amount of "global time preset"
función CanIf_TTGlobalTimePreset [SWS_TtCanIf_00075] 📄 PDF
Std_ReturnType CanIf_TTGlobalTimePreset(uint8 ControllerId, CanIf_TTTimeType CanIf_TTGlobalTimePreset);
Sets the value of "global time preset".
función CanIf_TTSetExtClockSyncCommand [SWS_TtCanIf_00076] 📄 PDF
Std_ReturnType CanIf_TTSetExtClockSyncCommand(uint8 ControllerId);
Adjusts the NTU (network time unit) according to the value given by "NTU adjust". Together with the local oscillator period, "TUR adjust" can be derived from "NTU adjust".
función CanIf_TTSetNTUAdjust [SWS_TtCanIf_00077] 📄 PDF
Std_ReturnType CanIf_TTSetNTUAdjust(uint8 ControllerId, float32 CanIf_TTNTUAdjust);
Sets the value of "NTU adjust". Together with the local oscillator period, "TUR adjust" can be derived from "NTU adjust".
función CanIf_TTJobListExec_<Controller> [SWS_TtCanIf_00079] 📄 PDF
void CanIf_TTJobListExec_<Controller>(void);
Processes the job list of the TTCAN controller <Controller>.
función CanIf_TTGetSyncQuality [SWS_TtCanIf_00080] 📄 PDF
Std_ReturnType CanIf_TTGetSyncQuality(uint8 ControllerId, boolean* CanIf_TTClockSpeed, boolean* CanIf_TTGlobalTimePhase);
Gets the synchronization quality.
función CanIf_TTSetTimeMark [SWS_TtCanIf_00082] 📄 PDF
Std_ReturnType CanIf_TTSetTimeMark(uint8 ControllerId, CanIf_TTTimeType CanIf_TTTimeMark, CanIf_TTTimeSourceType CanIf_TTTimeSource);
Sets a new value for the time mark for the given time source.
función CanIf_TTCancelTimeMark [SWS_TtCanIf_00083] 📄 PDF
Std_ReturnType CanIf_TTCancelTimeMark(uint8 ControllerId);
Cancels the time mark.
función CanIf_TTAckTimeMark [SWS_TtCanIf_00084] 📄 PDF
Std_ReturnType CanIf_TTAckTimeMark(uint8 ControllerId);
Acknowledges the time mark interrupt by resetting the flag in the interrupt vector register.
función CanIf_TTEnableTimeMarkIRQ [SWS_TtCanIf_00085] 📄 PDF
Std_ReturnType CanIf_TTEnableTimeMarkIRQ(uint8 ControllerId);
Enables the time mark interrupt.
función CanIf_TTDisableTimeMarkIRQ [SWS_TtCanIf_00086] 📄 PDF
Std_ReturnType CanIf_TTDisableTimeMarkIRQ(uint8 ControllerId);
Disables the time mark interrupt.
función CanIf_TTGetTimeMarkIRQStatus [SWS_TtCanIf_00087] 📄 PDF
Std_ReturnType CanIf_TTGetTimeMarkIRQStatus(uint8 ControllerId, boolean* CanIf_TTIRQStatus);
Gets the IRQ status of the time mark.
función CanIf_TTApplWatchdogError [SWS_TtCanIf_00089] 📄 PDF
Std_ReturnType CanIf_TTApplWatchdogError(uint8 ControllerId);
Reports an application watchdog error.
función CanIf_TTTimingError [SWS_TtCanIf_00090] 📄 PDF
Std_ReturnType CanIf_TTTimingError(uint8 ControllerId, CanIf_TTTimingErrorIRQType CanIf_TTTimingErrorIRQ);
Reports one of the following errors: • Change of error level • Tx overflow / underflow • Synchronization failed • Init watch trigger
función CanIf_TTGap [SWS_TtCanIf_00091] 📄 PDF
Std_ReturnType CanIf_TTGap(uint8 ControllerId);
Reports the occurrence of a gap.
función CanIf_TTStartOfCycle [SWS_TtCanIf_00092] 📄 PDF
Std_ReturnType CanIf_TTStartOfCycle(uint8 ControllerId, uint8 CanIf_TTCycleCount);
Reports the start of a basic cycle.
función CanIf_TTTimeDisc [SWS_TtCanIf_00093] 📄 PDF
Std_ReturnType CanIf_TTTimeDisc(uint8 ControllerId);
Reports a time discontinuity.
función CanIf_TTMasterStateChange [SWS_TtCanIf_00094] 📄 PDF
Std_ReturnType CanIf_TTMasterStateChange(uint8 ControllerId, CanIf_TTMasterStateType CanIf_TTMasterState);
Reports change of the master state between potential and current master.
función CanIf_TTSevereError [SWS_TtCanIf_00122] 📄 PDF
void CanIf_TTSevereError(uint8 ControllerId, CanIf_TTSevereErrorEnumType CanIf_TTSevereError);
Reports one of the following errors: • failed to serve appl. watchdog • config error • watch trigger reached
tipo CanIf_TTTimeType [SWS_TtCanIf_00059] 📄 PDF
16 bit value representing time values of TTCAN, e.g. cycle, local or global time
tipo CanIf_TTMasterStateType [SWS_TtCanIf_00060] 📄 PDF
Master state type including sync mode, master-slave mode and current ref trigger offset
tipo CanIf_TTErrorLevelType [SWS_TtCanIf_00061] 📄 PDF
TTCAN error level including min and max values of message status count
tipo CanIf_TTTimeSourceType [SWS_TtCanIf_00063] 📄 PDF
Time source of time values in TTCAN
tipo CanIf_TTTimingErrorIRQType [SWS_TtCanIf_00064] 📄 PDF
Combines all events that are reported by CanIf_TTTimingError (event indication and error level)
tipo CanIf_TTMasterSlaveModeType [SWS_TtCanIf_00096] 📄 PDF
Master-Slave Mode
tipo CanIf_TTSyncModeEnumType [SWS_TtCanIf_00097] 📄 PDF
Sync mode
tipo CanIf_TTErrorLevelEnumType [SWS_TtCanIf_00098] 📄 PDF
Error level (S0-S3)
tipo CanIf_TTEventEnumType [SWS_TtCanIf_00099] 📄 PDF
Event that causes a Timing/Error IRQ
tipo CanIf_TTSevereErrorEnumType [SWS_TtCanIf_00137] 📄 PDF
Event that causes a severe error
requirement SWS_TtCanIf_00002 [SWS_TtCanIf_00002] 📄 PDF
The Copy Operation into/from the TTCAN Controller shall be scheduled within a Job List .
requirement SWS_TtCanIf_00004 [SWS_TtCanIf_00004] 📄 PDF
If a Job List is used, the TTCAN Job List Execution Function ( JLEF ) shall execute the Communication Jobs of the Job List syn- chronously to the Controller time (i.e. at well-defined points in time).
requirement SWS_TtCanIf_00006 [SWS_TtCanIf_00006] 📄 PDF
The API names of the JLEF shall obey the following pattern: • CanIf_TTJobListExec_0() for Controller # 0 • CanIf_TTJobListExec_1() for Controller # 1 • CanIf_TTJobListExec_2() for Controller # 2 • CanIf_TTJobListExec_3() for Controller # 3 • ... and so on, if more than 4 Controllers are supported.
requirement SWS_TtCanIf_00007 [SWS_TtCanIf_00007] 📄 PDF
If the JLEF lost synchronisation to the Local Time of the TTCAN Controller then the function Dem_SetEventStatus(CANIF_TT_E_- JLE_SYNC, DEM_EVENT_STATUS_FAILED) shall be called.
requirement SWS_TtCanIf_00008 [SWS_TtCanIf_00008] 📄 PDF
Extended Production Errors of TtcanIf are defined in 7.1.
requirement SWS_TtCanIf_00010 [SWS_TtCanIf_00010] 📄 PDF
If parameter Controller of CanIf_TTGetController- Time() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_ERROR_DETECT equals ON ), the function CanIf_TTGetController- Time() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00011 [SWS_TtCanIf_00011] 📄 PDF
Caveats of CanIf_TTGetControllerTime() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00012 [SWS_TtCanIf_00012] 📄 PDF
If parameter Controller of CanIf_TTGetMasterState () has an invalid value and if development error detection is enabled (i.e. CANIF_- DEV_ERROR_DETECT equals ON ), the function CanIf_TTGetMasterState() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_Re- portError service of the DET module.
requirement SWS_TtCanIf_00013 [SWS_TtCanIf_00013] 📄 PDF
Caveats of CanIf_TTGetMasterState() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00014 [SWS_TtCanIf_00014] 📄 PDF
If parameter Controller of CanIf_TTGetNTUActual() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_- ERROR_DETECT equals ON ), the function CanIf_TTGetNTUActual() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00015 [SWS_TtCanIf_00015] 📄 PDF
Caveats of CanIf_TTGetNTUActual() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00016 [SWS_TtCanIf_00016] 📄 PDF
If parameter Controller of CanIf_TTGetErrorLevel() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_- ERROR_DETECT equals ON ), the function CanIf_TTGetErrorLevel() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00017 [SWS_TtCanIf_00017] 📄 PDF
Caveats of CanIf_TTGetErrorLevel() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00018 [SWS_TtCanIf_00018] 📄 PDF
If parameter Controller of CanIf_TTSetNextIsGap() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_- ERROR_DETECT equals ON ), the function CanIf_TTSetNextIsGap() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00019 [SWS_TtCanIf_00019] 📄 PDF
Caveats of CanIf_TTSetNextIsGap() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00020 [SWS_TtCanIf_00020] 📄 PDF
If parameter Controller of CanIf_TTSetEndOfGap() has an invalid value and if development error detection is enabled (i.e. CANIF_- DEV_ERROR_DETECT equals ON ), the function CanIf_TTSetEndOfGap() shall re- port development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportEr- ror service of the DET module.
requirement SWS_TtCanIf_00021 [SWS_TtCanIf_00021] 📄 PDF
Caveats of CanIf_TTSetEndOfGap() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00022 [SWS_TtCanIf_00022] 📄 PDF
If parameter Controller of CanIf_TTSetTimeCommand () has an invalid value and if development error detection is enabled (i.e. CANIF_- DEV_ERROR_DETECT equals ON ), the function CanIf_TTSetTimeCommand() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_Re- portError service of the DET module.
requirement SWS_TtCanIf_00023 [SWS_TtCanIf_00023] 📄 PDF
Caveats of CanIf_TTSetTimeCommand() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00024 [SWS_TtCanIf_00024] 📄 PDF
If parameter Controller of CanIf_TTGlobalTimePre- set() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_ERROR_DETECT equals ON ), the function CanIf_TTGlobalTimePre- set() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00025 [SWS_TtCanIf_00025] 📄 PDF
Caveats of CanIf_TTGlobalTimePreset() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00026 [SWS_TtCanIf_00026] 📄 PDF
If parameter Controller of CanIf_TTSe- tExtClockSyncCommand() has an invalid value and if development error de- tection is enabled (i.e. CANIF_DEV_ERROR_DETECT equals ON ), the function CanIf_TTSetExtClockSyncCommand() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00027 [SWS_TtCanIf_00027] 📄 PDF
Caveats of CanIf_TTSetExtClockSyncCommand() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00028 [SWS_TtCanIf_00028] 📄 PDF
If parameter Controller of CanIf_TTSetNTUAdjust() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_- ERROR_DETECT equals ON ), the function CanIf_TTSetNTUAdjust() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00029 [SWS_TtCanIf_00029] 📄 PDF
Caveats of CanIf_TTSetNTUAdjust() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00032 [SWS_TtCanIf_00032] 📄 PDF
The function CanIf_TTJobListExec_<Controller>() shall exist once per TTCAN Controller , which use a Job List .
requirement SWS_TtCanIf_00033 [SWS_TtCanIf_00033] 📄 PDF
The function name of each instance of CanIf_TTJobLis- tExec_<Controller>() shall contain the index of the respective TTCAN Con- troller .
requirement SWS_TtCanIf_00034 [SWS_TtCanIf_00034] 📄 PDF
Caveats of CanIf_TTJobListExec_<Controller>() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00035 [SWS_TtCanIf_00035] 📄 PDF
If parameter Controller of CanIf_TTGetSyncQuality () has an invalid value and if development error detection is enabled (i.e. CANIF_- DEV_ERROR_DETECT equals ON ), the function CanIf_TTGetSyncQuality() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_Re- portError service of the DET module.
requirement SWS_TtCanIf_00036 [SWS_TtCanIf_00036] 📄 PDF
Caveats of CanIf_TTGetSyncQuality() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00037 [SWS_TtCanIf_00037] 📄 PDF
If parameter Controller of CanIf_TTSetTimeMark() has an invalid value and if development error detection is enabled (i.e. CANIF_- DEV_ERROR_DETECT equals ON ), the function CanIf_TTSetTimeMark() shall re- port development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportEr- ror service of the DET module.
requirement SWS_TtCanIf_00038 [SWS_TtCanIf_00038] 📄 PDF
Caveats of CanIf_TTSetTimeMark() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00039 [SWS_TtCanIf_00039] 📄 PDF
If parameter Controller of CanIf_TTCancelTimeMark () has an invalid value and if development error detection is enabled (i.e. CANIF_- DEV_ERROR_DETECT equals ON ), the function CanIf_TTCancelTimeMark() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_Re- portError service of the DET module.
requirement SWS_TtCanIf_00040 [SWS_TtCanIf_00040] 📄 PDF
Caveats of CanIf_TTCancelTimeMark() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00041 [SWS_TtCanIf_00041] 📄 PDF
If parameter Controller of CanIf_TTAckTimeMark() has an invalid value and if development error detection is enabled (i.e. CANIF_- DEV_ERROR_DETECT equals ON ), the function CanIf_TTAckTimeMark() shall re- port development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportEr- ror service of the DET module.
requirement SWS_TtCanIf_00042 [SWS_TtCanIf_00042] 📄 PDF
Caveats of CanIf_TTAckTimeMark() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00043 [SWS_TtCanIf_00043] 📄 PDF
If parameter Controller of CanIf_TTEnable- TimeMarkIRQ() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_ERROR_DETECT equals ON ), the function CanIf_TTEnable- TimeMarkIRQ() shall report development error code CANIF_E_PARAM_CON- TROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00044 [SWS_TtCanIf_00044] 📄 PDF
Caveats of CanIf_TTEnableTimeMarkIRQ() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00045 [SWS_TtCanIf_00045] 📄 PDF
If parameter Controller of CanIf_TTDisable- TimeMarkIRQ() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_ERROR_DETECT equals ON ), the function CanIf_TTDisable- TimeMarkIRQ() shall report development error code CANIF_E_PARAM_CON- TROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00046 [SWS_TtCanIf_00046] 📄 PDF
Caveats of CanIf_TTDisableTimeMarkIRQ() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00047 [SWS_TtCanIf_00047] 📄 PDF
If parameter Controller of CanIf_TTGet- TimeMarkIRQStatus() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_ERROR_DETECT equals ON ), the function CanIf_- TTGetTimeMarkIRQStatus() shall report development error code CANIF_- E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00048 [SWS_TtCanIf_00048] 📄 PDF
Caveats of CanIf_TTGetTimeMarkIRQStatus() : TtcanIf has to be initialized before this API service may be called.
requirement SWS_TtCanIf_00050 [SWS_TtCanIf_00050] 📄 PDF
If parameter ControllerId of CanIf_TTApplWatch- dogError() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_ERROR_DETECT equals ON ), then the function CanIf_TTApplWatch- dogError() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00051 [SWS_TtCanIf_00051] 📄 PDF
If parameter ControllerId of CanIf_TTTimingError() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_- ERROR_DETECT equals ON ), then the function CanIf_TTTimingError() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00052 [SWS_TtCanIf_00052] 📄 PDF
If parameter ControllerId of CanIf_TTGap() has an in- valid value and if development error detection is enabled (i.e. CANIF_DEV_ERROR_- DETECT equals ON ), then the function CanIf_TTGap() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00053 [SWS_TtCanIf_00053] 📄 PDF
If parameter ControllerId of CanIf_TTStartOfCycle () has an invalid value and if development error detection is enabled (i.e. CANIF_- DEV_ERROR_DETECT equals ON ), then the function CanIf_TTStartOfCycle() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_- ReportError service of the DET module.
requirement SWS_TtCanIf_00054 [SWS_TtCanIf_00054] 📄 PDF
If parameter ControllerId of CanIf_TTTimeDisc() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_ER- ROR_DETECT equals ON ), then the function CanIf_TTTimeDisc() shall report devel- opment error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00055 [SWS_TtCanIf_00055] 📄 PDF
If parameter ControllerId of CanIf_TTMasterState- Change() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_ERROR_DETECT equals ON ), then the function CanIf_TTMasterStat- eChange() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00056 [SWS_TtCanIf_00056] 📄 PDF
Can_TTGetControllerTime Ttcan.h Gets the current values for the global, local and cycle time and the cycle count of the controller Can_TTGetErrorLevel Ttcan.h Gets the error level. This includes the severity of the error level (S0-S3) and the minimum and maximum value of the message status count. Can_TTGetMasterState Ttcan.h Gets the master state. The master state includes the sync mode (sync_off, synchronizing, in_gap, in_ schedule) the master-slave mode (master_off, slave, backup_master, current_master) and the current value for ref trigger offset. Can_TTGetNTUActual Ttcan.h Gets the actual value of NTU (network time unit). Together with the local oscillator period, the actual value of NTU can be derived from the actual value of TUR. Can_TTGlobalTimePreset Ttcan.h Sets the value of "global time preset". Can_TTSetEndOfGap Ttcan.h Signals the end of a gap. Can_TTSetExtClockSyncCommand Ttcan.h Adjusts the NTU (network time unit) according to the value given by "NTU adjust". Together with the local oscillator period, "TUR adjust" can be derived from "NTU adjust". Can_TTSetNextIsGap Ttcan.h Sets the "Next_is_Gap" bit. Can_TTSetNTUAdjust Ttcan.h Sets the value of "NTU adjust". Together with the local oscillator period, "TUR adjust" can be derived from "NTU adjust". Can_TTSetTimeCommand Ttcan.h Adjusts the global time at the beginning of the next basic cycle by the amount of "global time preset" Dem_SetEventStatus Dem.h Called by SW-Cs or BSW modules to report monitor status information to the Dem. BSW modules calling Dem_SetEventStatus can safely ignore the return value. This API will be available only if ({Dem/Dem ConfigSet/DemEventParameter/DemEvent ReportingType} == STANDARD_REPORTING)
requirement SWS_TtCanIf_00057 [SWS_TtCanIf_00057] 📄 PDF
Can_TTAckTimeMark Ttcan.h Acknowledges the time mark interrupt by resetting the flag in the interrupt vector register. Can_TTCancelTimeMark Ttcan.h Cancels the time mark. Can_TTDisableTimeMarkIRQ Ttcan.h Disables the time mark interrupt. Can_TTEnableTimeMarkIRQ Ttcan.h Enables the time mark interrupt. API Function Header File Description Can_TTGetSyncQuality Ttcan.h Gets the synchronization quality. Can_TTGetTimeMarkIRQStatus Ttcan.h Gets the IRQ status of the time mark. Can_TTReceive Ttcan.h Reads received data from the controller by returning the pointer of the CanID, the DLC and the Data of the message in the requested HRH. Can_TTSetTimeMark Ttcan.h Sets a new value for the time mark for the given time source.
requirement SWS_TtCanIf_00066 [SWS_TtCanIf_00066] 📄 PDF
If development error detection for TtcanIf is enabled: The function CanIf_TTGetControllerTime() shall raise the error CANIF_E_PARAM_- POINTER and shall return E_NOT_OK if one of the parameter CanIf_TTCycle- Count , CanIf_TTGlobalTime , CanIf_TTLocalTime and CanIf_TTCycleTime is a NULL pointer.
requirement SWS_TtCanIf_00068 [SWS_TtCanIf_00068] 📄 PDF
If development error detection for TtcanIf is enabled: The function CanIf_TTGetMasterState() shall raise the error CAN_E_PARAM_- POINTER and shall return E_NOT_OK if the parameter CanIf_TTMasterState is a NULL pointer.
requirement SWS_TtCanIf_00071 [SWS_TtCanIf_00071] 📄 PDF
If development error detection for TtcanIf is enabled: The function CanIf_TTGetErrorLevel() shall raise the error CAN_E_PARAM_POINTER and shall return E_NOT_OK if the parameter CanIf_TTErrorLevel is a NULL pointer.
requirement SWS_TtCanIf_00081 [SWS_TtCanIf_00081] 📄 PDF
If development error detection for TtcanIf is enabled: The function CanIf_TTGetSyncQuality() shall raise the error CAN_E_PARAM_- POINTER and shall return E_NOT_OK if one of the parameter CanIf_ClockSpeed and CanIf_GlobalTimePhase is a NULL pointer.
requirement SWS_TtCanIf_00088 [SWS_TtCanIf_00088] 📄 PDF
If development error detection for TtcanIf is enabled: The function CanIf_TTGetTimeMarkIRQStatus() shall raise the error CAN_E_- PARAM_POINTER and shall return E_NOT_OK if the parameter CanIf_IRQStatus is a NULL pointer.
requirement SWS_TtCanIf_00101 [SWS_TtCanIf_00101] 📄 PDF
The function CanIf_TTGetControllerTime() shall call Can_TTGetControllerTime(Controller, Can_TTGlobalTime, CanTT- LocalTime, Can_TTCycleTime, Can_TTCycleCount) .
requirement SWS_TtCanIf_00102 [SWS_TtCanIf_00102] 📄 PDF
The function CanIf_TTGetMasterState() shall call Can_TTGetMasterState(Controller, Can_TTMasterState) .
requirement SWS_TtCanIf_00103 [SWS_TtCanIf_00103] 📄 PDF
The function CanIf_TTGetNTUActual() shall call Can_- TTGetNTUActual(Controller, Can_TTTURAct) .
requirement SWS_TtCanIf_00104 [SWS_TtCanIf_00104] 📄 PDF
The function CanIf_TTGetErrorLevel() shall call Can_- TTGetErrorLevel(Controller, Can_TTErrorLevel) .
requirement SWS_TtCanIf_00105 [SWS_TtCanIf_00105] 📄 PDF
The function CanIf_TTSetNextIsGap() shall call Can_- TTSetNextIsGap(Controller) .
requirement SWS_TtCanIf_00106 [SWS_TtCanIf_00106] 📄 PDF
The function CanIf_TTSetEndOfGap() shall call Can_- TTSetNextIsGap(Controller) .
requirement SWS_TtCanIf_00107 [SWS_TtCanIf_00107] 📄 PDF
The function CanIf_TTSetTimeCommand() shall call Can_TTSetTimeCommand(Controller) .
requirement SWS_TtCanIf_00108 [SWS_TtCanIf_00108] 📄 PDF
The function CanIf_TTGlobalTimePreset() shall call Can_TTGlobalTimePreset(Controller, Can_TTGlobalTimePreset) .
requirement SWS_TtCanIf_00109 [SWS_TtCanIf_00109] 📄 PDF
The function CanIf_TTSetExtClockSyncCommand() shall call Can_TTSetExtClockSyncCommand(Controller) .
requirement SWS_TtCanIf_00110 [SWS_TtCanIf_00110] 📄 PDF
The function CanIf_TTSetNTUAdjust() shall call Can_- TTSetNTUAdjust(Controller, Can_TTNTUAdjust) .
requirement SWS_TtCanIf_00112 [SWS_TtCanIf_00112] 📄 PDF
The function CanIf_TTGetSyncQuality() shall call Can_TTGetSyncQuality(Controller, Can_TTClockSpeed, Can_TTGlob- alTimePhase) .
requirement SWS_TtCanIf_00113 [SWS_TtCanIf_00113] 📄 PDF
The function CanIf_TTSetTimeMark() shall call Can_- TTSetTimeMark(Controller, Can_TTTimeMark, Can_TTTimeSource) .
requirement SWS_TtCanIf_00114 [SWS_TtCanIf_00114] 📄 PDF
The function CanIf_TTCancelTimeMark() shall call Can_TTCancelTimeMark(Controller) .
requirement SWS_TtCanIf_00115 [SWS_TtCanIf_00115] 📄 PDF
The function CanIf_TTAckTimeMark() shall call Can_- TTAckTimeMark(Controller) .
requirement SWS_TtCanIf_00116 [SWS_TtCanIf_00116] 📄 PDF
The function CanIf_TTEnableTimeMarkIRQ() shall call Can_TTEnableTimeMarkIRQ(Controller) .
requirement SWS_TtCanIf_00117 [SWS_TtCanIf_00117] 📄 PDF
The function CanIf_TTDisableTimeMarkIRQ() shall call Can_TTDisableTimeMarkIRQ(Controller) .
requirement SWS_TtCanIf_00119 [SWS_TtCanIf_00119] 📄 PDF
The function CanIf_TTGetTimeMarkIRQStatus() shall call Can_TTGetTimeMarkIRQStatus(Controller, Can_TTIRQStatus) .
requirement SWS_TtCanIf_00120 [SWS_TtCanIf_00120] 📄 PDF
If a CanIf Controller mode state machine is either in state CAN_CS_STARTED , CAN_CS_STOPPED or CAN_CS_SLEEP when function CanIf_TT- SevereError() is called, then CanIf shall call the function CanSM_Controller- BusOff() for the CAN Network assigned to parameter Controller of CanIf_TT- SevereError() .
requirement SWS_TtCanIf_00121 [SWS_TtCanIf_00121] 📄 PDF
If a CanIf Controller mode state machine is in state CAN_CS_- STARTED when the function CanIf_TTSevereError(ControllerId, CanIf_- TTSevereError) is called with parameter ControllerId referencing that CanIf Controller mode state machine, then CanIf shall call Can_SetControllerMode (Controller, CAN_CS_STOPPED) and CanIf shall call CanSM_ControllerBu- sOff(ControllerId) of CanSM .
requirement SWS_TtCanIf_00123 [SWS_TtCanIf_00123] 📄 PDF
If parameter ControllerId of CanIf_TTSevereError() has an invalid value and if development error detection is enabled (i.e. CANIF_DEV_- ERROR_DETECT equals ON ), then the function CanIf_TTSevereError() shall report development error code CANIF_E_PARAM_CONTROLLER to the Det_ReportError service of the DET module.
requirement SWS_TtCanIf_00124 [SWS_TtCanIf_00124] 📄 PDF
Module Header File Imported Type Can_GeneralTypes.h Can_IdType Ttcan.h Can_TTErrorLevelEnumType Ttcan.h Can_TTErrorLevelType Ttcan.h Can_TTMasterSlaveModeType Ttcan.h Can_TTMasterStateType Ttcan.h Can_TTSyncModeEnumType Ttcan.h Can_TTTURType Ttcan.h Can_TTTimeSourceType Can Ttcan.h Can_TTTimeType ComStack_Types.h PduIdType ComStack_Types.h PduInfoType ComStack_Types ComStack_Types.h PduLengthType Rte_Dem_Type.h Dem_EventIdType Dem Rte_Dem_Type.h Dem_EventStatusType Std Std_Types.h Std_ReturnType
requirement SWS_TtCanIf_00141 [SWS_TtCanIf_00141] 📄 PDF
If a Job List is configured for a Tx L-PDU (see CanIfT- TJoblist ), a function call of CanIf_Transmit() (see SWS_CanIf_00318 ) shall not directly call Can_Write() . The information that a call of CanIf_Transmit() occurred has to be buffered within TtcanIf until the data is transmitted by the Job List .
requirement SWS_TtCanIf_00143 [SWS_TtCanIf_00143] 📄 PDF
For each Controller that is controlled by TtcanIf one dedicated Job List and one dedicated JLEF (refer to section 7.3) shall be used. It's possible to mixture both variants, with and without the usage of a Job List .
requirement SWS_TtCanIf_00144 [SWS_TtCanIf_00144] 📄 PDF
If during JLEF <User_TriggerTransmit>() returns E_- NOT_OK , TtcanIf shall not call Can_Write() afterwards.
requirement SWS_TtCanIf_00145 [SWS_TtCanIf_00145] 📄 PDF
If the JLEF was executed successfully, then the func- tion Dem_SetEventStatus(CANIF_TT_E_JLE_SYNC, DEM_EVENT_STATUS_- PASSED) shall be called.
requirement SWS_TtCanIf_99999 [SWS_TtCanIf_99999] 📄 PDF
These requirements are not applicable to this specification.
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/CP_MOD_TtcanIf- Status
- unspecified
- Version
AUTOSAR/AP/record/CP_MOD_TtcanIf@rel:R20-11#a7f6df6f- Content hash
a7f6df6f- Source
- https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_TTCANInterface.pdf#nameddest=SWS_TtCanIf_00058