@@ -255,7 +255,7 @@ typedef enum
255255 HAL_CAN_RX_FIFO1_MSG_PENDING_CB_ID = 0x08U , /*!< CAN Rx FIFO 1 message pending callback ID */
256256 HAL_CAN_RX_FIFO1_FULL_CB_ID = 0x09U , /*!< CAN Rx FIFO 1 full callback ID */
257257 HAL_CAN_SLEEP_CB_ID = 0x0AU , /*!< CAN Sleep callback ID */
258- HAL_CAN_WAKEUP_FROM_RX_MSG_CB_ID = 0x0BU , /*!< CAN Wake Up fropm Rx msg callback ID */
258+ HAL_CAN_WAKEUP_FROM_RX_MSG_CB_ID = 0x0BU , /*!< CAN Wake Up from Rx msg callback ID */
259259 HAL_CAN_ERROR_CB_ID = 0x0CU , /*!< CAN Error callback ID */
260260
261261 HAL_CAN_MSPINIT_CB_ID = 0x0DU , /*!< CAN MspInit callback ID */
@@ -295,11 +295,11 @@ typedef void (*pCAN_CallbackTypeDef)(CAN_HandleTypeDef *hcan); /*!< pointer to
295295#define HAL_CAN_ERROR_RX_FOV0 (0x00000200U) /*!< Rx FIFO0 overrun error */
296296#define HAL_CAN_ERROR_RX_FOV1 (0x00000400U) /*!< Rx FIFO1 overrun error */
297297#define HAL_CAN_ERROR_TX_ALST0 (0x00000800U) /*!< TxMailbox 0 transmit failure due to arbitration lost */
298- #define HAL_CAN_ERROR_TX_TERR0 (0x00001000U) /*!< TxMailbox 1 transmit failure due to tranmit error */
299- #define HAL_CAN_ERROR_TX_ALST1 (0x00002000U) /*!< TxMailbox 0 transmit failure due to arbitration lost */
300- #define HAL_CAN_ERROR_TX_TERR1 (0x00004000U) /*!< TxMailbox 1 transmit failure due to tranmit error */
301- #define HAL_CAN_ERROR_TX_ALST2 (0x00008000U) /*!< TxMailbox 0 transmit failure due to arbitration lost */
302- #define HAL_CAN_ERROR_TX_TERR2 (0x00010000U) /*!< TxMailbox 1 transmit failure due to tranmit error */
298+ #define HAL_CAN_ERROR_TX_TERR0 (0x00001000U) /*!< TxMailbox 0 transmit failure due to transmit error */
299+ #define HAL_CAN_ERROR_TX_ALST1 (0x00002000U) /*!< TxMailbox 1 transmit failure due to arbitration lost */
300+ #define HAL_CAN_ERROR_TX_TERR1 (0x00004000U) /*!< TxMailbox 1 transmit failure due to transmit error */
301+ #define HAL_CAN_ERROR_TX_ALST2 (0x00008000U) /*!< TxMailbox 2 transmit failure due to arbitration lost */
302+ #define HAL_CAN_ERROR_TX_TERR2 (0x00010000U) /*!< TxMailbox 2 transmit failure due to transmit error */
303303#define HAL_CAN_ERROR_TIMEOUT (0x00020000U) /*!< Timeout error */
304304#define HAL_CAN_ERROR_NOT_INITIALIZED (0x00040000U) /*!< Peripheral not initialized */
305305#define HAL_CAN_ERROR_NOT_READY (0x00080000U) /*!< Peripheral not ready */
0 commit comments