Classes | |
struct | CCAN_API |
struct | CCAN_CALLBACKS |
struct | CCAN_CANOPENCFG |
struct | CCAN_MSG_OBJ |
struct | CCAN_ODCONSTENTRY |
struct | CCAN_ODENTRY |
Macros | |
#define | CAN_ERROR_ACK 0x00000020UL |
#define | CAN_ERROR_BIT0 0x00000080UL |
#define | CAN_ERROR_BIT1 0x00000040UL |
#define | CAN_ERROR_BOFF 0x00000004UL |
#define | CAN_ERROR_CRC 0x00000100UL |
#define | CAN_ERROR_FORM 0x00000010UL |
#define | CAN_ERROR_NONE 0x00000000UL |
#define | CAN_ERROR_PASS 0x00000001UL |
#define | CAN_ERROR_STUF 0x00000008UL |
#define | CAN_ERROR_WARN 0x00000002UL |
#define | CAN_MSGOBJ_DAT 0x00000000UL /* data frame */ |
#define | CAN_MSGOBJ_EXT 0x20000000UL /* CAN 2.0b 29-bit ID */ |
#define | CAN_MSGOBJ_RTR 0x40000000UL /* rtr frame */ |
#define | CAN_MSGOBJ_STD 0x00000000UL /* CAN 2.0a 11-bit ID */ |
#define | CAN_SDOREQ_HANDLED_NOSEND 2 |
#define | CAN_SDOREQ_HANDLED_SEND 1 |
#define | CAN_SDOREQ_NOTHANDLED 0 |
#define | CAN_SDOSEG_CLOSE 2 |
#define | CAN_SDOSEG_OPEN 1 |
#define | CAN_SDOSEG_SEGMENT 0 |
#define | LPC_CCAN_API ((CCAN_API_T *) (LPC_ROM_API->candApiBase)) |
#define | OD_EXP_RO 0x10 |
#define | OD_EXP_RW 0x30 |
#define | OD_EXP_WO 0x20 |
#define | OD_NONE 0x00 |
#define | OD_SEG_RO 0x40 |
#define | OD_SEG_RW 0x60 |
#define | OD_SEG_WO 0x50 |
#define | SDO_ABORT_ACCINCOMP 0x06040047UL |
#define | SDO_ABORT_DEVSTAT 0x08000022UL |
#define | SDO_ABORT_LOCAL 0x08000021UL |
#define | SDO_ABORT_NOT_EXISTS 0x06020000UL |
#define | SDO_ABORT_PARAINCOMP 0x06040043UL |
#define | SDO_ABORT_READONLY 0x06010002UL |
#define | SDO_ABORT_SDOTIMEOUT 0x05040000UL |
#define | SDO_ABORT_TOGGLE 0x05030000UL |
#define | SDO_ABORT_TRANSFER 0x08000020UL |
#define | SDO_ABORT_TYPEMISMATCH 0x06070010UL |
#define | SDO_ABORT_UNKNOWN_COMMAND 0x05040001UL |
#define | SDO_ABORT_UNKNOWNSUB 0x06090011UL |
#define | SDO_ABORT_UNSUPPORTED 0x06010000UL |
#define | SDO_ABORT_VALUE_RANGE 0x06090030UL |
#define | SDO_ABORT_WRITEONLY 0x06010001UL |
Typedefs | |
typedef struct CCAN_API | CCAN_API_T |
typedef struct CCAN_CALLBACKS | CCAN_CALLBACKS_T |
typedef struct CCAN_CANOPENCFG | CCAN_CANOPENCFG_T |
typedef struct CCAN_MSG_OBJ | CCAN_MSG_OBJ_T |
typedef struct CCAN_ODCONSTENTRY | CCAN_ODCONSTENTRY_T |
typedef struct CCAN_ODENTRY | CCAN_ODENTRY_T |
#define CAN_ERROR_ACK 0x00000020UL |
Definition at line 53 of file ccand_11xx.h.
#define CAN_ERROR_BIT0 0x00000080UL |
Definition at line 55 of file ccand_11xx.h.
#define CAN_ERROR_BIT1 0x00000040UL |
Definition at line 54 of file ccand_11xx.h.
#define CAN_ERROR_BOFF 0x00000004UL |
Definition at line 50 of file ccand_11xx.h.
#define CAN_ERROR_CRC 0x00000100UL |
Definition at line 56 of file ccand_11xx.h.
#define CAN_ERROR_FORM 0x00000010UL |
Definition at line 52 of file ccand_11xx.h.
#define CAN_ERROR_NONE 0x00000000UL |
CCAN ROM error status bits
Definition at line 47 of file ccand_11xx.h.
#define CAN_ERROR_PASS 0x00000001UL |
Definition at line 48 of file ccand_11xx.h.
#define CAN_ERROR_STUF 0x00000008UL |
Definition at line 51 of file ccand_11xx.h.
#define CAN_ERROR_WARN 0x00000002UL |
Definition at line 49 of file ccand_11xx.h.
#define CAN_MSGOBJ_DAT 0x00000000UL /* data frame */ |
Definition at line 63 of file ccand_11xx.h.
#define CAN_MSGOBJ_EXT 0x20000000UL /* CAN 2.0b 29-bit ID */ |
Definition at line 62 of file ccand_11xx.h.
#define CAN_MSGOBJ_RTR 0x40000000UL /* rtr frame */ |
Definition at line 64 of file ccand_11xx.h.
#define CAN_MSGOBJ_STD 0x00000000UL /* CAN 2.0a 11-bit ID */ |
CCAN ROM control bits for CAN_MSG_OBJ.mode_id
Definition at line 61 of file ccand_11xx.h.
#define CAN_SDOREQ_HANDLED_NOSEND 2 |
Definition at line 130 of file ccand_11xx.h.
#define CAN_SDOREQ_HANDLED_SEND 1 |
Definition at line 129 of file ccand_11xx.h.
#define CAN_SDOREQ_NOTHANDLED 0 |
Definition at line 128 of file ccand_11xx.h.
#define CAN_SDOSEG_CLOSE 2 |
Definition at line 135 of file ccand_11xx.h.
#define CAN_SDOSEG_OPEN 1 |
Definition at line 134 of file ccand_11xx.h.
#define CAN_SDOSEG_SEGMENT 0 |
Definition at line 133 of file ccand_11xx.h.
#define LPC_CCAN_API ((CCAN_API_T *) (LPC_ROM_API->candApiBase)) |
Definition at line 161 of file ccand_11xx.h.
#define OD_EXP_RO 0x10 |
Definition at line 102 of file ccand_11xx.h.
#define OD_EXP_RW 0x30 |
Definition at line 104 of file ccand_11xx.h.
#define OD_EXP_WO 0x20 |
Definition at line 103 of file ccand_11xx.h.
#define OD_NONE 0x00 |
Definition at line 101 of file ccand_11xx.h.
#define OD_SEG_RO 0x40 |
Definition at line 105 of file ccand_11xx.h.
#define OD_SEG_RW 0x60 |
Definition at line 107 of file ccand_11xx.h.
#define OD_SEG_WO 0x50 |
Definition at line 106 of file ccand_11xx.h.
#define SDO_ABORT_ACCINCOMP 0x06040047UL |
Definition at line 85 of file ccand_11xx.h.
#define SDO_ABORT_DEVSTAT 0x08000022UL |
Definition at line 91 of file ccand_11xx.h.
#define SDO_ABORT_LOCAL 0x08000021UL |
Definition at line 90 of file ccand_11xx.h.
#define SDO_ABORT_NOT_EXISTS 0x06020000UL |
Definition at line 83 of file ccand_11xx.h.
#define SDO_ABORT_PARAINCOMP 0x06040043UL |
Definition at line 84 of file ccand_11xx.h.
#define SDO_ABORT_READONLY 0x06010002UL |
Definition at line 82 of file ccand_11xx.h.
#define SDO_ABORT_SDOTIMEOUT 0x05040000UL |
Definition at line 78 of file ccand_11xx.h.
#define SDO_ABORT_TOGGLE 0x05030000UL |
Definition at line 77 of file ccand_11xx.h.
#define SDO_ABORT_TRANSFER 0x08000020UL |
Definition at line 89 of file ccand_11xx.h.
#define SDO_ABORT_TYPEMISMATCH 0x06070010UL |
Definition at line 86 of file ccand_11xx.h.
#define SDO_ABORT_UNKNOWN_COMMAND 0x05040001UL |
Definition at line 79 of file ccand_11xx.h.
#define SDO_ABORT_UNKNOWNSUB 0x06090011UL |
Definition at line 87 of file ccand_11xx.h.
#define SDO_ABORT_UNSUPPORTED 0x06010000UL |
Definition at line 80 of file ccand_11xx.h.
#define SDO_ABORT_VALUE_RANGE 0x06090030UL |
Definition at line 88 of file ccand_11xx.h.
#define SDO_ABORT_WRITEONLY 0x06010001UL |
Definition at line 81 of file ccand_11xx.h.
typedef struct CCAN_API CCAN_API_T |
typedef struct CCAN_CALLBACKS CCAN_CALLBACKS_T |
typedef struct CCAN_CANOPENCFG CCAN_CANOPENCFG_T |
typedef struct CCAN_MSG_OBJ CCAN_MSG_OBJ_T |
typedef struct CCAN_ODCONSTENTRY CCAN_ODCONSTENTRY_T |
typedef struct CCAN_ODENTRY CCAN_ODENTRY_T |