uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CAN_Private_Defines

Macros

#define MCR_DBF   ((uint32_t)0x00010000) /* software master reset */
 
#define TMIDxR_TXRQ   ((uint32_t)0x00000001) /* Transmit mailbox request */
 
#define FMR_FINIT   ((uint32_t)0x00000001) /* Filter init mode */
 
#define INAK_TIMEOUT   ((uint32_t)0x0000FFFF)
 
#define SLAK_TIMEOUT   ((uint32_t)0x0000FFFF)
 
#define CAN_FLAGS_TSR   ((uint32_t)0x08000000)
 
#define CAN_FLAGS_RF1R   ((uint32_t)0x04000000)
 
#define CAN_FLAGS_RF0R   ((uint32_t)0x02000000)
 
#define CAN_FLAGS_MSR   ((uint32_t)0x01000000)
 
#define CAN_FLAGS_ESR   ((uint32_t)0x00F00000)
 
#define CAN_TXMAILBOX_0   ((uint8_t)0x00)
 
#define CAN_TXMAILBOX_1   ((uint8_t)0x01)
 
#define CAN_TXMAILBOX_2   ((uint8_t)0x02)
 
#define CAN_MODE_MASK   ((uint32_t) 0x00000003)
 

Detailed Description

Macro Definition Documentation

#define CAN_FLAGS_ESR   ((uint32_t)0x00F00000)

Definition at line 73 of file stm32f10x_can.c.

#define CAN_FLAGS_MSR   ((uint32_t)0x01000000)

Definition at line 71 of file stm32f10x_can.c.

#define CAN_FLAGS_RF0R   ((uint32_t)0x02000000)

Definition at line 69 of file stm32f10x_can.c.

#define CAN_FLAGS_RF1R   ((uint32_t)0x04000000)

Definition at line 67 of file stm32f10x_can.c.

#define CAN_FLAGS_TSR   ((uint32_t)0x08000000)

Definition at line 65 of file stm32f10x_can.c.

#define CAN_MODE_MASK   ((uint32_t) 0x00000003)

Definition at line 82 of file stm32f10x_can.c.

#define CAN_TXMAILBOX_0   ((uint8_t)0x00)

Definition at line 76 of file stm32f10x_can.c.

#define CAN_TXMAILBOX_1   ((uint8_t)0x01)

Definition at line 77 of file stm32f10x_can.c.

#define CAN_TXMAILBOX_2   ((uint8_t)0x02)

Definition at line 78 of file stm32f10x_can.c.

#define FMR_FINIT   ((uint32_t)0x00000001) /* Filter init mode */

Definition at line 55 of file stm32f10x_can.c.

#define INAK_TIMEOUT   ((uint32_t)0x0000FFFF)

Definition at line 58 of file stm32f10x_can.c.

#define MCR_DBF   ((uint32_t)0x00010000) /* software master reset */

Definition at line 49 of file stm32f10x_can.c.

#define SLAK_TIMEOUT   ((uint32_t)0x0000FFFF)

Definition at line 60 of file stm32f10x_can.c.

#define TMIDxR_TXRQ   ((uint32_t)0x00000001) /* Transmit mailbox request */

Definition at line 52 of file stm32f10x_can.c.