uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CAN Public Types

Classes

struct  CAN_PinCFG_Type
 Pin Configuration structure. More...
 
struct  CAN_MSG_Type
 CAN message object structure. More...
 
struct  FullCAN_Entry
 FullCAN Entry structure. More...
 
struct  SFF_Entry
 Standard ID Frame Format Entry structure. More...
 
struct  SFF_GPR_Entry
 Group of Standard ID Frame Format Entry structure. More...
 
struct  EFF_Entry
 Extended ID Frame Format Entry structure. More...
 
struct  EFF_GPR_Entry
 Group of Extended ID Frame Format Entry structure. More...
 
struct  AF_SectionDef
 Acceptance Filter Section Table structure. More...
 

Enumerations

enum  CAN_ID_FORMAT_Type { STD_ID_FORMAT = 0, EXT_ID_FORMAT = 1 }
 CAN ID format definition. More...
 
enum  AFLUT_ENTRY_Type {
  FULLCAN_ENTRY = 0, EXPLICIT_STANDARD_ENTRY, GROUP_STANDARD_ENTRY, EXPLICIT_EXTEND_ENTRY,
  GROUP_EXTEND_ENTRY
}
 AFLUT Entry type definition. More...
 
enum  CAN_FRAME_Type { DATA_FRAME = 0, REMOTE_FRAME = 1 }
 Symbolic names for type of CAN message. More...
 
enum  CAN_CTRL_STS_Type { CANCTRL_GLOBAL_STS = 0, CANCTRL_INT_CAP, CANCTRL_ERR_WRN, CANCTRL_STS }
 CAN Control status definition. More...
 
enum  CAN_CR_STS_Type { CANCR_TX_STS = 0, CANCR_RX_STS, CANCR_MS }
 Central CAN status type definition. More...
 
enum  FullCAN_IC_Type { FULLCAN_IC0, FULLCAN_IC1 }
 FullCAN Interrupt Capture type definition. More...
 
enum  CAN_INT_EN_Type {
  CANINT_RIE = 0, CANINT_TIE1, CANINT_EIE, CANINT_DOIE,
  CANINT_WUIE, CANINT_EPIE, CANINT_ALIE, CANINT_BEIE,
  CANINT_IDIE, CANINT_TIE2, CANINT_TIE3, CANINT_FCE
}
 CAN interrupt enable type definition. More...
 
enum  CAN_AFMODE_Type { CAN_Normal = 0, CAN_AccOff, CAN_AccBP, CAN_eFCAN }
 Acceptance Filter Mode type definition. More...
 
enum  CAN_MODE_Type {
  CAN_OPERATING_MODE = 0, CAN_RESET_MODE, CAN_LISTENONLY_MODE, CAN_SELFTEST_MODE,
  CAN_TXPRIORITY_MODE, CAN_SLEEP_MODE, CAN_RXPOLARITY_MODE, CAN_TEST_MODE
}
 CAN Mode Type definition. More...
 
enum  CAN_ERROR {
  CAN_OK = 1, CAN_OBJECTS_FULL_ERROR, CAN_FULL_OBJ_NOT_RCV, CAN_NO_RECEIVE_DATA,
  CAN_AF_ENTRY_ERROR, CAN_CONFLICT_ID_ERROR, CAN_ENTRY_NOT_EXIT_ERROR
}
 Error values that functions can return. More...
 

Detailed Description

Enumeration Type Documentation

AFLUT Entry type definition.

Enumerator
FULLCAN_ENTRY 
EXPLICIT_STANDARD_ENTRY 
GROUP_STANDARD_ENTRY 
EXPLICIT_EXTEND_ENTRY 
GROUP_EXTEND_ENTRY 

Definition at line 555 of file lpc17xx_can.h.

Acceptance Filter Mode type definition.

Enumerator
CAN_Normal 

Normal Mode

CAN_AccOff 

Acceptance Filter Off Mode

CAN_AccBP 

Acceptance Fileter Bypass Mode

CAN_eFCAN 

FullCAN Mode Enhancement

Definition at line 619 of file lpc17xx_can.h.

Central CAN status type definition.

Enumerator
CANCR_TX_STS 

Central CAN Tx Status

CANCR_RX_STS 

Central CAN Rx Status

CANCR_MS 

Central CAN Miscellaneous Status

Definition at line 584 of file lpc17xx_can.h.

CAN Control status definition.

Enumerator
CANCTRL_GLOBAL_STS 

CAN Global Status

CANCTRL_INT_CAP 

CAN Interrupt and Capture

CANCTRL_ERR_WRN 

CAN Error Warning Limit

CANCTRL_STS 

CAN Control Status

Definition at line 574 of file lpc17xx_can.h.

enum CAN_ERROR

Error values that functions can return.

Enumerator
CAN_OK 

No error

CAN_OBJECTS_FULL_ERROR 

No more rx or tx objects available

CAN_FULL_OBJ_NOT_RCV 

Full CAN object not received

CAN_NO_RECEIVE_DATA 

No have receive data available

CAN_AF_ENTRY_ERROR 

Entry load in AFLUT is unvalid

CAN_CONFLICT_ID_ERROR 

Conflict ID occur

CAN_ENTRY_NOT_EXIT_ERROR 

Entry remove outo AFLUT is not exit

Definition at line 643 of file lpc17xx_can.h.

Symbolic names for type of CAN message.

Enumerator
DATA_FRAME 

Data frame

REMOTE_FRAME 

Remote frame

Definition at line 566 of file lpc17xx_can.h.

CAN ID format definition.

CAN configuration structure

Enumerator
STD_ID_FORMAT 

Use standard ID format (11 bit ID)

EXT_ID_FORMAT 

Use extended ID format (29 bit ID)

Definition at line 547 of file lpc17xx_can.h.

CAN interrupt enable type definition.

Enumerator
CANINT_RIE 

CAN Receiver Interrupt Enable

CANINT_TIE1 

CAN Transmit Interrupt Enable

CANINT_EIE 

CAN Error Warning Interrupt Enable

CANINT_DOIE 

CAN Data Overrun Interrupt Enable

CANINT_WUIE 

CAN Wake-Up Interrupt Enable

CANINT_EPIE 

CAN Error Passive Interrupt Enable

CANINT_ALIE 

CAN Arbitration Lost Interrupt Enable

CANINT_BEIE 

CAN Bus Error Inter rupt Enable

CANINT_IDIE 

CAN ID Ready Interrupt Enable

CANINT_TIE2 

CAN Transmit Interrupt Enable for Buffer2

CANINT_TIE3 

CAN Transmit Interrupt Enable for Buffer3

CANINT_FCE 

FullCAN Interrupt Enable

Definition at line 601 of file lpc17xx_can.h.

CAN Mode Type definition.

Enumerator
CAN_OPERATING_MODE 

Operating Mode

CAN_RESET_MODE 

Reset Mode

CAN_LISTENONLY_MODE 

Listen Only Mode

CAN_SELFTEST_MODE 

Seft Test Mode

CAN_TXPRIORITY_MODE 

Transmit Priority Mode

CAN_SLEEP_MODE 

Sleep Mode

CAN_RXPOLARITY_MODE 

Receive Polarity Mode

CAN_TEST_MODE 

Test Mode

Definition at line 629 of file lpc17xx_can.h.

FullCAN Interrupt Capture type definition.

Enumerator
FULLCAN_IC0 

FullCAN Interrupt and Capture 0

FULLCAN_IC1 

FullCAN Interrupt and Capture 1

Definition at line 593 of file lpc17xx_can.h.