![]() |
![]() |
The section has a list of all the data structures which are exposed to the application. More...
Data Structures | |
| struct | CANFD_MCANLoopbackCfgParams_t |
| Data structure defines the MCAN Loopback parameters. More... | |
| struct | CANFD_MCANBitTimingParams_t |
| Data structure defines the parameters for bit timing calculation. Bit timing related to data phase will be valid only in case where MCAN is put in CANFD mode and will be '0' otherwise. More... | |
| struct | CANFD_MCANTdcConfig_t |
| Data structure defines the MCAN Transmitter Delay Compensation parameters. More... | |
| struct | CANFD_MCANGlobalFiltConfig_t |
| Data structure defines the MCAN Global Filter Configuration parameters. More... | |
| struct | CANFD_MCANMsgRAMCfgParams_t |
| Data structure defines the MCAN Message RAM Configuration Parameters. Message RAM can contain following sections: Standard ID filters, Extended ID filters, TX FIFO(or TX Q), TX Buffers, TX EventFIFO, RX FIFO0, RX FIFO1, RX Buffer. Note: If particular section in the RAM is not used then it's size should be initialized to '0' (Number of buffers in case of Tx/Rx buffer). More... | |
| struct | CANFD_MCANECCConfigParams_t |
| Data structure defines the MCAN ECC configuration parameters. More... | |
| struct | CANFD_MCANErrCntStatus_t |
| Data structure defines the MCAN error logging counters status. More... | |
| struct | CANFD_MCANProtocolStatus_t |
| Data structure defines the MCAN protocol status. More... | |
| struct | CANFD_MCANECCErrForceParams_t |
| Data structure defines the ECC Error forcing. More... | |
| struct | CANFD_MCANECCErrStatus_t |
| Data structure defines the ECC Error Status. More... | |
| struct | CANFD_ErrStatusResp_t |
| Response structure definition for Error and status information. More... | |
| struct | CANFD_MCANInitParams_t |
| Data structure defines the MCAN initialization parameters. More... | |
| struct | CAN_MCANMsgObjCfgParams_t |
| Parameters used to configure the receive and transmit message objects. More... | |
| struct | CAN_MCANRxMsgObjRangeCfgParams_t |
| Parameters used to configure a receive message objects for a range of message identifiers. More... | |
| struct | CANFD_MCANMsgObjectStats_t |
| Data structure defines the software maintained message object statistics. More... | |
| struct | CANFD_OptionTLV_t |
| Options TLV data structure. More... | |
Typedefs | |
| typedef void * | CANFD_Handle |
| CANFD module handle returned by the CANFD_init() API call. | |
| typedef void * | CANFD_MsgObjHandle |
| CANFD message object handle returned by the CANFD_createMsgObject() API call. | |
| typedef enum CANFD_MCANOperationMode_t | CANFD_MCANOperationMode |
| Enumerates the values used to represent the MCAN mode of operation. | |
| typedef enum CANFD_Direction_t | CANFD_Direction |
| This enumeration defines the values used to set the direction of message object. | |
| typedef enum CANFD_MCANXidType_t | CANFD_MCANXidType |
| This enumeration defines the values used to represent the CAN Identifier Type. | |
| typedef enum CANFD_MCANFrameType_t | CANFD_MCANFrameType |
| This enumeration defines the CAN frame type. | |
| typedef enum CANFD_MCANTimeOutSelect_t | CANFD_MCANTimeOutSelect |
| This enumeration defines the MCAN timeout counter configuration. | |
| typedef enum CANFD_MCANECCErrType_t | CANFD_MCANECCErrType |
| This enumeration defines the MCAN ECC Error Types. | |
| typedef enum CANFD_MCANLoopBackMode_t | CANFD_MCANLoopBackMode |
| This enumeration defines the MCAN Loopback mode. | |
| typedef enum CANFD_MCANCommState_t | CANFD_MCANCommState |
| This enumeration defines the MCAN's communication state. | |
| typedef enum CANFD_MCANErrCode_t | CANFD_MCANErrCode |
| This enumeration defines the MCAN's Error Code. | |
| typedef enum CANFD_Reason_t | CANFD_Reason |
| This enumeration describes a list of all the reasons for which the driver will invoke application callback functions. | |
| typedef enum CANFD_Option_t | CANFD_Option |
| This enumeration defines the values used to represent the GET/SET options. More... | |
| typedef struct CANFD_MCANLoopbackCfgParams_t | CANFD_MCANLoopbackCfgParams |
| Data structure defines the MCAN Loopback parameters. | |
| typedef struct CANFD_MCANBitTimingParams_t | CANFD_MCANBitTimingParams |
| Data structure defines the parameters for bit timing calculation. Bit timing related to data phase will be valid only in case where MCAN is put in CANFD mode and will be '0' otherwise. | |
| typedef struct CANFD_MCANTdcConfig_t | CANFD_MCANTdcConfig |
| Data structure defines the MCAN Transmitter Delay Compensation parameters. | |
| typedef struct CANFD_MCANGlobalFiltConfig_t | CANFD_MCANGlobalFiltConfig |
| Data structure defines the MCAN Global Filter Configuration parameters. | |
| typedef struct CANFD_MCANMsgRAMCfgParams_t | CANFD_MCANMsgRAMCfgParams |
| Data structure defines the MCAN Message RAM Configuration Parameters. Message RAM can contain following sections: Standard ID filters, Extended ID filters, TX FIFO(or TX Q), TX Buffers, TX EventFIFO, RX FIFO0, RX FIFO1, RX Buffer. Note: If particular section in the RAM is not used then it's size should be initialized to '0' (Number of buffers in case of Tx/Rx buffer). | |
| typedef struct CANFD_MCANECCConfigParams_t | CANFD_MCANECCConfigParams |
| Data structure defines the MCAN ECC configuration parameters. | |
| typedef struct CANFD_MCANErrCntStatus_t | CANFD_MCANErrCntStatus |
| Data structure defines the MCAN error logging counters status. | |
| typedef struct CANFD_MCANProtocolStatus_t | CANFD_MCANProtocolStatus |
| Data structure defines the MCAN protocol status. | |
| typedef struct CANFD_MCANECCErrForceParams_t | CANFD_MCANECCErrForceParams |
| Data structure defines the ECC Error forcing. | |
| typedef struct CANFD_MCANECCErrStatus_t | CANFD_MCANECCErrStatus |
| Data structure defines the ECC Error Status. | |
| typedef struct CANFD_ErrStatusResp_t | CANFD_ErrStatusResp |
| Response structure definition for Error and status information. | |
| typedef void(* | CANFD_DataAppCallBack) (CANFD_MsgObjHandle handle, CANFD_Reason reason) |
| Application specified callback function which is invoked by the CANFD driver once transmit is complete or data has been received for the specified message object. More... | |
| typedef void(* | CANFD_ErrStatusAppCallBack) (CANFD_Handle handle, CANFD_Reason reason, CANFD_ErrStatusResp *errStatusResp) |
| Application specified callback function which is invoked by the CANFD driver on error or status change. More... | |
| typedef struct CANFD_MCANInitParams_t | CANFD_MCANInitParams |
| Data structure defines the MCAN initialization parameters. | |
| typedef struct CAN_MCANMsgObjCfgParams_t | CANFD_MCANMsgObjCfgParams |
| Parameters used to configure the receive and transmit message objects. | |
| typedef struct CAN_MCANRxMsgObjRangeCfgParams_t | CANFD_MCANRxMsgObjRangeCfgParams |
| Parameters used to configure a receive message objects for a range of message identifiers. | |
| typedef struct CANFD_MCANMsgObjectStats_t | CANFD_MCANMsgObjectStats |
| Data structure defines the software maintained message object statistics. | |
| typedef struct CANFD_OptionTLV_t | CANFD_OptionTLV |
| Options TLV data structure. More... | |
Enumerations |
The section has a list of all the data structures which are exposed to the application.
| typedef void(* CANFD_DataAppCallBack) (CANFD_MsgObjHandle handle, CANFD_Reason reason) |
Application specified callback function which is invoked by the CANFD driver once transmit is complete or data has been received for the specified message object.
| [in] | handle | Message object handle for which the callback function is invoked. |
| [in] | reason | Cause of the interrupt which prompted the callback. |
| Not | applicable |
| typedef void(* CANFD_ErrStatusAppCallBack) (CANFD_Handle handle, CANFD_Reason reason, CANFD_ErrStatusResp *errStatusResp) |
Application specified callback function which is invoked by the CANFD driver on error or status change.
| [in] | handle | Handle to the CANFD Driver |
| [in] | reason | Cause of the interrupt which prompted the callback. |
| [in] | errStatusResp | Response structure populated with the value of the fields that caused the error or status interrupt. Processing of this structure is dependent on the callback reason. |
| Not | applicable |
| typedef enum CANFD_Option_t CANFD_Option |
This enumeration defines the values used to represent the GET/SET options.
| typedef struct CANFD_OptionTLV_t CANFD_OptionTLV |
Options TLV data structure.
Specifies the option type, length, value.
| enum CANFD_Direction_t |
This enumeration defines the MCAN's communication state.
| enum CANFD_MCANErrCode_t |
This enumeration defines the MCAN's Error Code.
This enumeration defines the MCAN Loopback mode.
This enumeration defines the MCAN timeout counter configuration.
| enum CANFD_MCANXidType_t |
| enum CANFD_Option_t |
This enumeration defines the values used to represent the GET/SET options.
| Enumerator | |
|---|---|
| CANFD_Option_MCAN_ERROR_COUNTER |
Used to get the MCAN Tx and Rx error counters
NOTE: The length in the TLV should be sizeof(CANFD_MCANErrCntStatus) for this option. |
| CANFD_Option_MCAN_PROTOCOL_STATUS |
Used to get the MCAN protocol status
NOTE: The length in the TLV should be sizeof(CANFD_MCANProtocolStatus) for this option. |
| CANFD_Option_MCAN_MSG_OBJECT_STATS |
Used to get the MCAN message object software maintained statistics
NOTE: The length in the TLV should be sizeof(CANFD_MCANMsgObjectStats) for this option. Application must fill in the message object handle for which the statistics is requested. |
| CANFD_Option_MCAN_MODE |
Used to put the MCAN module in init or operational state
NOTE: The length in the TLV should be 1 byte for this option. Valid values: Refer to (CANFD_MCANOperationMode) |
| CANFD_Option_MCAN_LOOPBACK |
Used to enable or disable internal/external loopback mode
NOTE: The length in the TLV should be sizeof(CANFD_MCANLoopbackCfgParams) for this option. |
| CANFD_Option_MCAN_POWER_DOWN |
Used to request a local power down or wakeup from a local power down
NOTE: The length in the TLV should be 1 byte for this option. Valid values are 1 - MCAN Sleep 0 - MCAN Wakeup |
| enum CANFD_Reason_t |
This enumeration describes a list of all the reasons for which the driver will invoke application callback functions.