CAN相关寄存器
RT1064实例化了3个CAN实例,分别是CAN1、CAN2和CAN3,其中CAN1和CAN2可用于CAN通讯,CAN3可用于CAN和CAN FD通讯。
/* CAN - Peripheral instance base addresses */
/** Peripheral CAN1 base address */
#define CAN1_BASE (0x401D0000u)
/** Peripheral CAN1 base pointer */
#define CAN1 ((CAN_Type *)CAN1_BASE)
/** Peripheral CAN2 base address */
#define CAN2_BASE (0x401D4000u)
/** Peripheral CAN2 base pointer */
#define CAN2 ((CAN_Type *)CAN2_BASE)
/** Peripheral CAN3 base address */
#define CAN3_BASE (0x401D8000u)
/** Peripheral CAN3 base pointer */
#define CAN3 ((CAN_Type *)CAN3_BASE)