CAN driver modules. More...
Classes | |
struct | CAN_FilterInitTypeDef |
CAN filter init structure definition. More... | |
struct | CAN_InitTypeDef |
CAN init structure definition. More... | |
struct | CanRxMsg |
CAN Rx message structure definition. More... | |
struct | CanTxMsg |
CAN Tx message structure definition. More... | |
Macros | |
#define | CAN_FLAGS_ESR ((uint32_t)0x00F00000) |
#define | CAN_FLAGS_ESR ((uint32_t)0x00F00000) |
#define | CAN_FLAGS_MSR ((uint32_t)0x01000000) |
#define | CAN_FLAGS_MSR ((uint32_t)0x01000000) |
#define | CAN_FLAGS_RF0R ((uint32_t)0x02000000) |
#define | CAN_FLAGS_RF0R ((uint32_t)0x02000000) |
#define | CAN_FLAGS_RF1R ((uint32_t)0x04000000) |
#define | CAN_FLAGS_RF1R ((uint32_t)0x04000000) |
#define | CAN_FLAGS_TSR ((uint32_t)0x08000000) |
#define | CAN_FLAGS_TSR ((uint32_t)0x08000000) |
#define | CAN_MODE_MASK ((uint32_t) 0x00000003) |
#define | CAN_MODE_MASK ((uint32_t) 0x00000003) |
#define | CAN_TXMAILBOX_0 ((uint8_t)0x00) |
#define | CAN_TXMAILBOX_0 ((uint8_t)0x00) |
#define | CAN_TXMAILBOX_1 ((uint8_t)0x01) |
#define | CAN_TXMAILBOX_1 ((uint8_t)0x01) |
#define | CAN_TXMAILBOX_2 ((uint8_t)0x02) |
#define | CAN_TXMAILBOX_2 ((uint8_t)0x02) |
#define | FMR_FINIT ((uint32_t)0x00000001) /* Filter init mode */ |
#define | FMR_FINIT ((uint32_t)0x00000001) /* Filter init mode */ |
#define | INAK_TIMEOUT ((uint32_t)0x00FFFFFF) |
#define | INAK_TIMEOUT ((uint32_t)0x0000FFFF) |
#define | IS_CAN_ALL_PERIPH(PERIPH) (((PERIPH) == CAN1)) |
#define | IS_CAN_ALL_PERIPH(PERIPH) |
#define | MCR_DBF ((uint32_t)0x00010000) /* software master reset */ |
#define | MCR_DBF ((uint32_t)0x00010000) /* software master reset */ |
#define | SLAK_TIMEOUT ((uint32_t)0x00FFFFFF) |
#define | SLAK_TIMEOUT ((uint32_t)0x0000FFFF) |
#define | TMIDxR_TXRQ ((uint32_t)0x00000001) /* Transmit mailbox request */ |
#define | TMIDxR_TXRQ ((uint32_t)0x00000001) /* Transmit mailbox request */ |
CAN driver modules.
#define CAN_FLAGS_ESR ((uint32_t)0x00F00000) |
Definition at line 108 of file stm32f30x_can.c.
#define CAN_FLAGS_ESR ((uint32_t)0x00F00000) |
Definition at line 122 of file stm32f4xx_can.c.
#define CAN_FLAGS_MSR ((uint32_t)0x01000000) |
Definition at line 106 of file stm32f30x_can.c.
#define CAN_FLAGS_MSR ((uint32_t)0x01000000) |
Definition at line 120 of file stm32f4xx_can.c.
#define CAN_FLAGS_RF0R ((uint32_t)0x02000000) |
Definition at line 104 of file stm32f30x_can.c.
#define CAN_FLAGS_RF0R ((uint32_t)0x02000000) |
Definition at line 118 of file stm32f4xx_can.c.
#define CAN_FLAGS_RF1R ((uint32_t)0x04000000) |
Definition at line 102 of file stm32f30x_can.c.
#define CAN_FLAGS_RF1R ((uint32_t)0x04000000) |
Definition at line 116 of file stm32f4xx_can.c.
#define CAN_FLAGS_TSR ((uint32_t)0x08000000) |
Definition at line 100 of file stm32f30x_can.c.
#define CAN_FLAGS_TSR ((uint32_t)0x08000000) |
Definition at line 114 of file stm32f4xx_can.c.
#define CAN_MODE_MASK ((uint32_t) 0x00000003) |
Definition at line 115 of file stm32f30x_can.c.
#define CAN_MODE_MASK ((uint32_t) 0x00000003) |
Definition at line 129 of file stm32f4xx_can.c.
#define CAN_TXMAILBOX_0 ((uint8_t)0x00) |
Definition at line 111 of file stm32f30x_can.c.
#define CAN_TXMAILBOX_0 ((uint8_t)0x00) |
Definition at line 125 of file stm32f4xx_can.c.
#define CAN_TXMAILBOX_1 ((uint8_t)0x01) |
Definition at line 112 of file stm32f30x_can.c.
#define CAN_TXMAILBOX_1 ((uint8_t)0x01) |
Definition at line 126 of file stm32f4xx_can.c.
#define CAN_TXMAILBOX_2 ((uint8_t)0x02) |
Definition at line 113 of file stm32f30x_can.c.
#define CAN_TXMAILBOX_2 ((uint8_t)0x02) |
Definition at line 127 of file stm32f4xx_can.c.
#define FMR_FINIT ((uint32_t)0x00000001) /* Filter init mode */ |
Definition at line 92 of file stm32f30x_can.c.
#define FMR_FINIT ((uint32_t)0x00000001) /* Filter init mode */ |
Definition at line 106 of file stm32f4xx_can.c.
#define INAK_TIMEOUT ((uint32_t)0x00FFFFFF) |
Definition at line 95 of file stm32f30x_can.c.
#define INAK_TIMEOUT ((uint32_t)0x0000FFFF) |
Definition at line 109 of file stm32f4xx_can.c.
#define IS_CAN_ALL_PERIPH | ( | PERIPH | ) | (((PERIPH) == CAN1)) |
Definition at line 50 of file stm32f30x_can.h.
#define IS_CAN_ALL_PERIPH | ( | PERIPH | ) |
Definition at line 50 of file stm32f4xx_can.h.
#define MCR_DBF ((uint32_t)0x00010000) /* software master reset */ |
Definition at line 86 of file stm32f30x_can.c.
#define MCR_DBF ((uint32_t)0x00010000) /* software master reset */ |
Definition at line 100 of file stm32f4xx_can.c.
#define SLAK_TIMEOUT ((uint32_t)0x00FFFFFF) |
Definition at line 97 of file stm32f30x_can.c.
#define SLAK_TIMEOUT ((uint32_t)0x0000FFFF) |
Definition at line 111 of file stm32f4xx_can.c.
#define TMIDxR_TXRQ ((uint32_t)0x00000001) /* Transmit mailbox request */ |
Definition at line 89 of file stm32f30x_can.c.
#define TMIDxR_TXRQ ((uint32_t)0x00000001) /* Transmit mailbox request */ |
Definition at line 103 of file stm32f4xx_can.c.