|
| bool | DL_MCAN_isReady (DL_MCAN_INSTANCE instance) |
| | if MCAN instance is ready to be configured More...
|
| |
| void | DL_MCAN_setClockConfig (MCAN_Regs *mcan, DL_MCAN_ClockConfig *config) |
| | Configure CANCLK source clock. More...
|
| |
| void | DL_MCAN_getClockConfig (MCAN_Regs *mcan, DL_MCAN_ClockConfig *config) |
| | Get CANCLK clock configuration. More...
|
| |
| bool | DL_MCAN_isInReset (MCAN_Regs *mcan) |
| | This function checks if the MCAN module is in Reset. More...
|
| |
| bool | DL_MCAN_isFDOpEnable (MCAN_Regs *mcan) |
| | This API will return flexible data rate operation status MCAN module. More...
|
| |
| bool | DL_MCAN_isMemInitDone (MCAN_Regs *mcan) |
| | This function checks if the memory initialization is done for MCAN module. More...
|
| |
| void | DL_MCAN_setOpMode (MCAN_Regs *mcan, uint32_t mode) |
| | This API will set MCAN module mode of operation. More...
|
| |
| uint32_t | DL_MCAN_getOpMode (MCAN_Regs *mcan) |
| | This API will return MCAN module mode of operation. More...
|
| |
| int32_t | DL_MCAN_init (MCAN_Regs *mcan, const DL_MCAN_InitParams *initParams) |
| | This API will initialize MCAN module. More...
|
| |
| int32_t | DL_MCAN_config (MCAN_Regs *mcan, const DL_MCAN_ConfigParams *configParams) |
| | This API will configure MCAN module. More...
|
| |
| void | DL_MCAN_eccConfig (MCAN_Regs *mcan, const DL_MCAN_ECCConfigParams *configParams) |
| | This API will enable/disable ECC on the Message RAM. More...
|
| |
| int32_t | DL_MCAN_setBitTime (MCAN_Regs *mcan, const DL_MCAN_BitTimingParams *configParams) |
| | This API will configure a bit timings for MCAN module. More...
|
| |
| int32_t | DL_MCAN_msgRAMConfig (MCAN_Regs *mcan, const DL_MCAN_MsgRAMConfigParams *msgRAMConfigParams) |
| | This API will configure Different sections of Message RAM. More...
|
| |
| int32_t | DL_MCAN_setExtIDAndMask (MCAN_Regs *mcan, uint32_t idMask) |
| | This API will configure Extended ID AND Mask. More...
|
| |
| void | DL_MCAN_writeMsgRam (MCAN_Regs *mcan, uint32_t memType, uint32_t bufNum, const DL_MCAN_TxBufElement *elem) |
| | This API is used to write Tx message to message RAM. More...
|
| |
| int32_t | DL_MCAN_TXBufAddReq (MCAN_Regs *mcan, uint32_t bufNum) |
| | This API will set Tx Buffer Add Request. More...
|
| |
| void | DL_MCAN_getNewDataStatus (MCAN_Regs *mcan, DL_MCAN_RxNewDataStatus *newDataStatus) |
| | This API will return New Data Message Status. More...
|
| |
| void | DL_MCAN_clearNewDataStatus (MCAN_Regs *mcan, const DL_MCAN_RxNewDataStatus *newDataStatus) |
| | This API clear New Data Message Status. More...
|
| |
| void | DL_MCAN_readMsgRam (MCAN_Regs *mcan, uint32_t memType, uint32_t bufNum, uint32_t fifoNum, DL_MCAN_RxBufElement *elem) |
| | This API is used to read received message form message RAM. More...
|
| |
| void | DL_MCAN_readTxEventFIFO (MCAN_Regs *mcan, DL_MCAN_TxEventFIFOElement *txEventElem) |
| | This API is used to read message form Tx Event FIFO. More...
|
| |
| void | DL_MCAN_addStdMsgIDFilter (MCAN_Regs *mcan, uint32_t filtNum, const DL_MCAN_StdMsgIDFilterElement *elem) |
| | This API is used to add Standard Message ID Filter Element. More...
|
| |
| void | DL_MCAN_addExtMsgIDFilter (MCAN_Regs *mcan, uint32_t filtNum, const DL_MCAN_ExtMsgIDFilterElement *elem) |
| | This API is used to add Extended Message ID Filter Element. More...
|
| |
| void | DL_MCAN_lpbkModeEnable (MCAN_Regs *mcan, uint32_t lpbkMode, bool enable) |
| | This API will enable/disable Loop Back Test Mode for MCAN module. More...
|
| |
| void | DL_MCAN_getErrCounters (MCAN_Regs *mcan, DL_MCAN_ErrCntStatus *errCounter) |
| | This API will return error counter status for MCAN module. More...
|
| |
| void | DL_MCAN_getProtocolStatus (MCAN_Regs *mcan, DL_MCAN_ProtocolStatus *protStatus) |
| | This API will return protocol status for MCAN module. More...
|
| |
| void | DL_MCAN_enableIntr (MCAN_Regs *mcan, uint32_t intrMask, bool enable) |
| | This API is used to enable/disable interrupts. More...
|
| |
| void | DL_MCAN_selectIntrLine (MCAN_Regs *mcan, uint32_t intrMask, uint32_t lineNum) |
| | This API is used to select interrupt line. More...
|
| |
| uint32_t | DL_MCAN_getIntrLineSelectStatus (MCAN_Regs *mcan) |
| | This API is used to get interrupt line selected for each interrupt. More...
|
| |
| void | DL_MCAN_enableIntrLine (MCAN_Regs *mcan, uint32_t lineNum, bool enable) |
| | This API is used to enable/disable selected interrupt line. More...
|
| |
| uint32_t | DL_MCAN_getIntrStatus (MCAN_Regs *mcan) |
| | This API will return interrupt status. More...
|
| |
| void | DL_MCAN_clearIntrStatus (MCAN_Regs *mcan, uint32_t intrMask, DL_MCAN_INTR_SRC_MCAN eoi) |
| | This API is used to clear the interrupt status. More...
|
| |
| void | DL_MCAN_getHighPriorityMsgStatus (MCAN_Regs *mcan, DL_MCAN_HighPriorityMsgInfo *hpm) |
| | This API will return High Priority Message Status. More...
|
| |
| void | DL_MCAN_getRxFIFOStatus (MCAN_Regs *mcan, DL_MCAN_RxFIFOStatus *fifoStatus) |
| | This API will Rx FIFO status. More...
|
| |
| int32_t | DL_MCAN_writeRxFIFOAck (MCAN_Regs *mcan, uint32_t fifoNum, uint32_t idx) |
| | This API will write Rx FIFO Acknowledgement. More...
|
| |
| void | DL_MCAN_getTxFIFOQueStatus (MCAN_Regs *mcan, DL_MCAN_TxFIFOStatus *fifoStatus) |
| | This API will Tx FIFO status. More...
|
| |
| uint32_t | DL_MCAN_getTxBufReqPend (MCAN_Regs *mcan) |
| | This API will return Tx Buffer Request Pending status. More...
|
| |
| int32_t | DL_MCAN_txBufCancellationReq (MCAN_Regs *mcan, uint32_t buffNum) |
| | This API will set Tx Buffer Cancellation Request. More...
|
| |
| uint32_t | DL_MCAN_getTxBufTransmissionStatus (MCAN_Regs *mcan) |
| | This API will return Tx Buffer Transmission Occurred status. More...
|
| |
| uint32_t | DL_MCAN_txBufCancellationStatus (MCAN_Regs *mcan) |
| | This API will return Transmit Buffer Cancellation Finished status. More...
|
| |
| int32_t | DL_MCAN_TXBufTransIntrEnable (MCAN_Regs *mcan, uint32_t bufNum, bool enable) |
| | This API is used to enable/disable Tx Buffer Transmission Interrupt. More...
|
| |
| int32_t | DL_MCAN_getTxBufCancellationIntrEnable (MCAN_Regs *mcan, uint32_t bufNum, bool enable) |
| | This API is used to enable/disable Tx Buffer Cancellation Finished Interrupt. More...
|
| |
| void | DL_MCAN_addClockStopRequest (MCAN_Regs *mcan, bool enable) |
| | This API add clock stop request for MCAN module to put it in power down mode. More...
|
| |
| void | DL_MCAN_getTxEventFIFOStatus (MCAN_Regs *mcan, DL_MCAN_TxEventFIFOStatus *fifoStatus) |
| | This API will Tx Event FIFO status. More...
|
| |
| int32_t | DL_MCAN_writeTxEventFIFOAck (MCAN_Regs *mcan, uint32_t idx) |
| | This API will write Event FIFO Acknowledge Index. More...
|
| |
| void | DL_MCAN_eccForceError (MCAN_Regs *mcan, const DL_MCAN_ECCErrForceParams *eccErr) |
| | This API will Force Error on ECC. More...
|
| |
| void | DL_MCAN_eccGetErrorStatus (MCAN_Regs *mcan, DL_MCAN_ECCErrStatus *eccErr) |
| | This API will return ECC Error status. More...
|
| |
| void | DL_MCAN_eccClearErrorStatus (MCAN_Regs *mcan, uint32_t errType) |
| | This API is used to clear the ECC Error status. More...
|
| |
| void | DL_MCAN_eccWriteEOI (MCAN_Regs *mcan, uint32_t errType) |
| | This API is used to write End of Interrupt for ECC interrupt. More...
|
| |
| void | DL_MCAN_eccEnableIntr (MCAN_Regs *mcan, uint32_t errType, bool enable) |
| | This API is used to enable ECC interrupt. More...
|
| |
| uint32_t | DL_MCAN_eccGetIntrStatus (MCAN_Regs *mcan, uint32_t errType) |
| | This API is used to get ECC interrupt status. More...
|
| |
| void | DL_MCAN_eccClearIntrStatus (MCAN_Regs *mcan, uint32_t errType) |
| | This API is used to clear ECC interrupt status. More...
|
| |
| void | DL_MCAN_extTSCounterConfig (MCAN_Regs *mcan, uint32_t prescalar) |
| | This API will configure external timestamp counter for MCAN module. More...
|
| |
| void | DL_MCAN_extTSCounterEnable (MCAN_Regs *mcan, bool enable) |
| | This API will enable/disable fast external time stamp counter for MCAN module. More...
|
| |
| void | DL_MCAN_extTSEnableIntr (MCAN_Regs *mcan, bool enable) |
| | This API will enable/disable External TimeStamp Counter Overflow Interrupt for MCAN module. More...
|
| |
| void | DL_MCAN_extTSWriteEOI (MCAN_Regs *mcan) |
| | This API is used to write End of Interrupt for External TimeStamp Counter Overflow Interrupt. More...
|
| |
| uint32_t | DL_MCAN_extTSGetUnservicedIntrCount (MCAN_Regs *mcan) |
| | This API returns Number of unserviced rollover/overflow interrupts for external TimeStamp counter. More...
|
| |
| void | DL_MCAN_getRevisionId (MCAN_Regs *mcan, DL_MCAN_RevisionId *revId) |
| | This API is used get the MCAN revision ID. More...
|
| |
| uint32_t | DL_MCAN_getClockStopAck (MCAN_Regs *mcan) |
| | This API get clock stop acknowledgement for MCAN module. It return whether MCAN is power down mode or not. More...
|
| |
| void | DL_MCAN_extTSSetRawStatus (MCAN_Regs *mcan) |
| | This API will set External TimeStamp Counter Overflow Interrupt Raw status for MCAN module. More...
|
| |
| void | DL_MCAN_extTSClearRawStatus (MCAN_Regs *mcan) |
| | This API will clear External TimeStamp Counter Overflow Interrupt raw status for MCAN module. More...
|
| |
| uint32_t | DL_MCAN_getRxPinState (MCAN_Regs *mcan) |
| | This API will return Rx pin state of MCAN module. More...
|
| |
| void | DL_MCAN_setTxPinState (MCAN_Regs *mcan, uint32_t state) |
| | This API will set Tx pin state of MCAN module. More...
|
| |
| uint32_t | DL_MCAN_getTxPinState (MCAN_Regs *mcan) |
| | This API will return Tx pin state of MCAN module. More...
|
| |
| uint32_t | DL_MCAN_getTSCounterVal (MCAN_Regs *mcan) |
| | This API will return current timestamp counter value. More...
|
| |
| uint32_t | DL_MCAN_getClkStopAck (MCAN_Regs *mcan) |
| | This API will return clock stop acknowledgement for MCAN module. More...
|
| |
| void | DL_MCAN_getBitTime (MCAN_Regs *mcan, DL_MCAN_BitTimingParams *configParams) |
| | This API will get the configured bit timings for MCAN module. More...
|
| |
| void | DL_MCAN_resetTSCounter (MCAN_Regs *mcan) |
| | This API will reset timestamp counter value. More...
|
| |
| uint32_t | DL_MCAN_getTOCounterVal (MCAN_Regs *mcan) |
| | This API will return current time-out counter value. More...
|
| |
| void | DL_MCAN_eccAggrGetRevisionId (MCAN_Regs *mcan, DL_MCAN_ECCAggrRevisionId *revId) |
| | This API is used get the ECC AGGR revision ID. More...
|
| |
| void | DL_MCAN_eccWrapGetRevisionId (MCAN_Regs *mcan, DL_MCAN_ECCWrapRevisionId *revId) |
| | This API is used get the ECC Wrapper revision ID. More...
|
| |
| bool | DL_MCAN_extTSIsIntrEnable (MCAN_Regs *mcan) |
| | This API returns External TimeStamp Counter Overflow Interrupt enable status for MCAN module. More...
|
| |
| uint32_t | DL_MCAN_getEndianVal (MCAN_Regs *mcan) |
| | This function return endianness value of MCAN module. More...
|
| |
| uint32_t | DL_MCAN_getExtIDANDMask (MCAN_Regs *mcan) |
| | This API will get the configured Extended ID AND Mask. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_enablePower (MCAN_Regs *mcan) |
| | Enables power on MCAN module. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_disablePower (MCAN_Regs *mcan) |
| | Disables power on mcan module. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_isPowerEnabled (MCAN_Regs *mcan) |
| | Returns if power on mcan module. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_reset (MCAN_Regs *mcan) |
| | Resets mcan peripheral. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_isReset (MCAN_Regs *mcan) |
| | Returns if mcan peripheral was reset. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_enableInterrupt (MCAN_Regs *mcan, uint32_t interruptMask) |
| | Enable MCAN interrupts. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_disableInterrupt (MCAN_Regs *mcan, uint32_t interruptMask) |
| | Disable MCAN interrupts. More...
|
| |
| __STATIC_INLINE uint32_t | DL_MCAN_getEnabledInterrupts (MCAN_Regs *mcan, uint32_t interruptMask) |
| | Check which MCAN interrupts are enabled. More...
|
| |
| __STATIC_INLINE uint32_t | DL_MCAN_getEnabledInterruptStatus (MCAN_Regs *mcan, uint32_t interruptMask) |
| | Check interrupt flag of enabled MCAN interrupts. More...
|
| |
| __STATIC_INLINE uint32_t | DL_MCAN_getRawInterruptStatus (MCAN_Regs *mcan, uint32_t interruptMask) |
| | Check interrupt flag of any MCAN interrupt. More...
|
| |
| __STATIC_INLINE DL_MCAN_IIDX | DL_MCAN_getPendingInterrupt (MCAN_Regs *mcan) |
| | Get highest priority pending MCAN interrupt. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_clearInterruptStatus (MCAN_Regs *mcan, uint32_t interruptMask) |
| | Clear pending MCAN interrupts. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_isModuleClockEnabled (MCAN_Regs *mcan) |
| | Checks if the MCAN module clock request is enabled. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_enableModuleClock (MCAN_Regs *mcan) |
| | Enables the MCAN functional module clock. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_disableModuleClock (MCAN_Regs *mcan) |
| | Disables the MCAN functional module clock. More...
|
| |
| __STATIC_INLINE uint32_t | DL_MCAN_getModuleClockDivider (MCAN_Regs *mcan) |
| | Gets the MCAN functional module clock divide ratio. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_setModuleClockDivider (MCAN_Regs *mcan, uint32_t clkdiv) |
| | Configures clock divide settings for the MCAN functional module clock. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_isClockStopGateRequestEnabled (MCAN_Regs *mcan) |
| | Checks if the MCAN clock gating request is enabled. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_enableClockStopGateRequest (MCAN_Regs *mcan) |
| | Enables the MCAN clock gating request. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_disableClockStopGateRequest (MCAN_Regs *mcan) |
| | Disables the MCAN clock gating request. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_isClockStopWakeupInterruptEnabled (MCAN_Regs *mcan) |
| | Checks if the MCAN clock stop wakeup interrupt is enabled. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_enableClockStopWakeupInterrupt (MCAN_Regs *mcan) |
| | Enables the MCAN clock stop wakeup interrupt. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_disableClockStopWakeupInterrupt (MCAN_Regs *mcan) |
| | Disables the MCAN clock stop wakeup interrupt. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_isGlitchFilterWakeupEnabled (MCAN_Regs *mcan) |
| | Checks if the glitch filter on MCAN RXD input is enabled. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_enableGlitchFilterWakeup (MCAN_Regs *mcan) |
| | Enables the glitch filter on MCAN RXD input. More...
|
| |
| __STATIC_INLINE void | DL_MCAN_disableGlitchFilterWakeup (MCAN_Regs *mcan) |
| | Disables the glitch filter on MCAN RXD input. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_getClockStopAcknowledgeStatus (MCAN_Regs *mcan) |
| | Gets the clock stop acknowledge status. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_getClockStopHardwareOverrideStatus (MCAN_Regs *mcan) |
| | Gets the clock stop hardware override status. More...
|
| |
| __STATIC_INLINE bool | DL_MCAN_getControllerClockRequestStatus (MCAN_Regs *mcan) |
| | Gets the status of MCAN controller clock request from GPRCM. More...
|
| |
| bool | DL_MCAN_saveConfiguration (MCAN_Regs *mcan, DL_MCAN_backupConfig *ptr) |
| | Saves MCAN configuration before entering STOP or STANDBY mode. Only necessary for PG 1.0 silicon. More...
|
| |
| bool | DL_MCAN_restoreConfiguration (MCAN_Regs *mcan, DL_MCAN_backupConfig *ptr) |
| | Restore MCAN configuration after leaving STOP or STANDBY mode. Only necessary for PG 1.0 silicon. More...
|
| |