Classes | Macros | Typedefs
CHIP: LPC11xx CCAN ROM Driver

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
 

Detailed Description

Macro Definition Documentation

◆ CAN_ERROR_ACK

#define CAN_ERROR_ACK   0x00000020UL

Definition at line 53 of file ccand_11xx.h.

◆ CAN_ERROR_BIT0

#define CAN_ERROR_BIT0   0x00000080UL

Definition at line 55 of file ccand_11xx.h.

◆ CAN_ERROR_BIT1

#define CAN_ERROR_BIT1   0x00000040UL

Definition at line 54 of file ccand_11xx.h.

◆ CAN_ERROR_BOFF

#define CAN_ERROR_BOFF   0x00000004UL

Definition at line 50 of file ccand_11xx.h.

◆ CAN_ERROR_CRC

#define CAN_ERROR_CRC   0x00000100UL

Definition at line 56 of file ccand_11xx.h.

◆ CAN_ERROR_FORM

#define CAN_ERROR_FORM   0x00000010UL

Definition at line 52 of file ccand_11xx.h.

◆ CAN_ERROR_NONE

#define CAN_ERROR_NONE   0x00000000UL

CCAN ROM error status bits

Definition at line 47 of file ccand_11xx.h.

◆ CAN_ERROR_PASS

#define CAN_ERROR_PASS   0x00000001UL

Definition at line 48 of file ccand_11xx.h.

◆ CAN_ERROR_STUF

#define CAN_ERROR_STUF   0x00000008UL

Definition at line 51 of file ccand_11xx.h.

◆ CAN_ERROR_WARN

#define CAN_ERROR_WARN   0x00000002UL

Definition at line 49 of file ccand_11xx.h.

◆ CAN_MSGOBJ_DAT

#define CAN_MSGOBJ_DAT   0x00000000UL /* data frame */

Definition at line 63 of file ccand_11xx.h.

◆ CAN_MSGOBJ_EXT

#define CAN_MSGOBJ_EXT   0x20000000UL /* CAN 2.0b 29-bit ID */

Definition at line 62 of file ccand_11xx.h.

◆ CAN_MSGOBJ_RTR

#define CAN_MSGOBJ_RTR   0x40000000UL /* rtr frame */

Definition at line 64 of file ccand_11xx.h.

◆ CAN_MSGOBJ_STD

#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.

◆ CAN_SDOREQ_HANDLED_NOSEND

#define CAN_SDOREQ_HANDLED_NOSEND   2

Definition at line 130 of file ccand_11xx.h.

◆ CAN_SDOREQ_HANDLED_SEND

#define CAN_SDOREQ_HANDLED_SEND   1

Definition at line 129 of file ccand_11xx.h.

◆ CAN_SDOREQ_NOTHANDLED

#define CAN_SDOREQ_NOTHANDLED   0

Definition at line 128 of file ccand_11xx.h.

◆ CAN_SDOSEG_CLOSE

#define CAN_SDOSEG_CLOSE   2

Definition at line 135 of file ccand_11xx.h.

◆ CAN_SDOSEG_OPEN

#define CAN_SDOSEG_OPEN   1

Definition at line 134 of file ccand_11xx.h.

◆ CAN_SDOSEG_SEGMENT

#define CAN_SDOSEG_SEGMENT   0

Definition at line 133 of file ccand_11xx.h.

◆ LPC_CCAN_API

#define LPC_CCAN_API   ((CCAN_API_T *) (LPC_ROM_API->candApiBase))

Definition at line 161 of file ccand_11xx.h.

◆ OD_EXP_RO

#define OD_EXP_RO   0x10

Definition at line 102 of file ccand_11xx.h.

◆ OD_EXP_RW

#define OD_EXP_RW   0x30

Definition at line 104 of file ccand_11xx.h.

◆ OD_EXP_WO

#define OD_EXP_WO   0x20

Definition at line 103 of file ccand_11xx.h.

◆ OD_NONE

#define OD_NONE   0x00

Definition at line 101 of file ccand_11xx.h.

◆ OD_SEG_RO

#define OD_SEG_RO   0x40

Definition at line 105 of file ccand_11xx.h.

◆ OD_SEG_RW

#define OD_SEG_RW   0x60

Definition at line 107 of file ccand_11xx.h.

◆ OD_SEG_WO

#define OD_SEG_WO   0x50

Definition at line 106 of file ccand_11xx.h.

◆ SDO_ABORT_ACCINCOMP

#define SDO_ABORT_ACCINCOMP   0x06040047UL

Definition at line 85 of file ccand_11xx.h.

◆ SDO_ABORT_DEVSTAT

#define SDO_ABORT_DEVSTAT   0x08000022UL

Definition at line 91 of file ccand_11xx.h.

◆ SDO_ABORT_LOCAL

#define SDO_ABORT_LOCAL   0x08000021UL

Definition at line 90 of file ccand_11xx.h.

◆ SDO_ABORT_NOT_EXISTS

#define SDO_ABORT_NOT_EXISTS   0x06020000UL

Definition at line 83 of file ccand_11xx.h.

◆ SDO_ABORT_PARAINCOMP

#define SDO_ABORT_PARAINCOMP   0x06040043UL

Definition at line 84 of file ccand_11xx.h.

◆ SDO_ABORT_READONLY

#define SDO_ABORT_READONLY   0x06010002UL

Definition at line 82 of file ccand_11xx.h.

◆ SDO_ABORT_SDOTIMEOUT

#define SDO_ABORT_SDOTIMEOUT   0x05040000UL

Definition at line 78 of file ccand_11xx.h.

◆ SDO_ABORT_TOGGLE

#define SDO_ABORT_TOGGLE   0x05030000UL

Definition at line 77 of file ccand_11xx.h.

◆ SDO_ABORT_TRANSFER

#define SDO_ABORT_TRANSFER   0x08000020UL

Definition at line 89 of file ccand_11xx.h.

◆ SDO_ABORT_TYPEMISMATCH

#define SDO_ABORT_TYPEMISMATCH   0x06070010UL

Definition at line 86 of file ccand_11xx.h.

◆ SDO_ABORT_UNKNOWN_COMMAND

#define SDO_ABORT_UNKNOWN_COMMAND   0x05040001UL

Definition at line 79 of file ccand_11xx.h.

◆ SDO_ABORT_UNKNOWNSUB

#define SDO_ABORT_UNKNOWNSUB   0x06090011UL

Definition at line 87 of file ccand_11xx.h.

◆ SDO_ABORT_UNSUPPORTED

#define SDO_ABORT_UNSUPPORTED   0x06010000UL

Definition at line 80 of file ccand_11xx.h.

◆ SDO_ABORT_VALUE_RANGE

#define SDO_ABORT_VALUE_RANGE   0x06090030UL

Definition at line 88 of file ccand_11xx.h.

◆ SDO_ABORT_WRITEONLY

#define SDO_ABORT_WRITEONLY   0x06010001UL

Definition at line 81 of file ccand_11xx.h.

Typedef Documentation

◆ CCAN_API_T

typedef struct CCAN_API CCAN_API_T

◆ CCAN_CALLBACKS_T

◆ CCAN_CANOPENCFG_T

◆ CCAN_MSG_OBJ_T

typedef struct CCAN_MSG_OBJ CCAN_MSG_OBJ_T

◆ CCAN_ODCONSTENTRY_T

◆ CCAN_ODENTRY_T

typedef struct CCAN_ODENTRY CCAN_ODENTRY_T


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04