Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
Data Structures | Macros | Typedefs | Enumerations | Functions
can_types.h File Reference

Go to the source code of this file.

Detailed Description

Type definitions for CAN.

Include Graph

Include dependency graph for can_types.h:

Include Graph

This graph shows which files directly or indirectly include this file:

Data Structures

struct  tCanFilterDescriptor
 
struct  tCanFifoDescriptor
 
struct  tCanFullCanDescriptor
 
struct  stCanNodeDescriptor
 

Macros

#define E_OK   (0x00) /* Access successful */
 
#define E_NOT_OK   (0x01) /* invocation of service failed, i.e. parameter error, out of range */
 
#define E_NOT_AVAILABLE   (0x80) /* service currently not available (i.e. not initialized, not started) */
 
#define E_BUSY   (0x81) /* a resource is currently in use, i.e. a buffer is locked or full */
 
#define E_RX_TIMEOUT   (0x82) /* a timeout occured for the frame while DM is active */
 
#define E_RX_LENGTH   (0x83) /* received frame length too long */
 
#define E_TX_OVERWRITE   (0x84) /* an unsent transmit message was overwritten */
 
#define E_TX_BUFFER_FULL   (0x85) /* a transmit FIFO or queue is full */
 
#define E_BUS_PASSIVE   (0x86) /* CAN bus is error-passive */
 
#define E_BUS_OFF   (0x87) /* CAN bus is Bus-Off */
 

Typedefs

typedef unsigned char tCanFrameHandle
 

Enumerations

enum  tCanIdType { StdId = 0u , ExtId = 1u , MixedId = 2u }
 

Functions

const stCanNodeDescriptorCan_GetDesc_CanNodes (void)
 

Macro Definition Documentation

◆ E_BUS_OFF

#define E_BUS_OFF   (0x87) /* CAN bus is Bus-Off */

◆ E_BUS_PASSIVE

#define E_BUS_PASSIVE   (0x86) /* CAN bus is error-passive */

◆ E_BUSY

#define E_BUSY   (0x81) /* a resource is currently in use, i.e. a buffer is locked or full */

◆ E_NOT_AVAILABLE

#define E_NOT_AVAILABLE   (0x80) /* service currently not available (i.e. not initialized, not started) */

◆ E_NOT_OK

#define E_NOT_OK   (0x01) /* invocation of service failed, i.e. parameter error, out of range */

◆ E_OK

#define E_OK   (0x00) /* Access successful */

◆ E_RX_LENGTH

#define E_RX_LENGTH   (0x83) /* received frame length too long */

◆ E_RX_TIMEOUT

#define E_RX_TIMEOUT   (0x82) /* a timeout occured for the frame while DM is active */

◆ E_TX_BUFFER_FULL

#define E_TX_BUFFER_FULL   (0x85) /* a transmit FIFO or queue is full */

◆ E_TX_OVERWRITE

#define E_TX_OVERWRITE   (0x84) /* an unsent transmit message was overwritten */

Typedef Documentation

◆ tCanFrameHandle

typedef unsigned char tCanFrameHandle

Enumeration Type Documentation

◆ tCanIdType

enum tCanIdType
Enumerator
StdId 
ExtId 
MixedId 

Function Documentation

◆ Can_GetDesc_CanNodes()

const stCanNodeDescriptor* Can_GetDesc_CanNodes ( void  )