can.CAN_TTCM = DISABLE; //½ûֹʱ¼ä´¥·¢Í¨ÐÅģʽ
can.CAN_ABOM = DISABLE;
can.CAN_AWUM = DISABLE;
can.CAN_NART = DISABLE; //can ±¨ÎÄÖ»±»·¢ËÍÒ»´Î¡£ ²»¹Ü·¢Ë͵Ľá¹ûÈçºÎ £¨³É¹¦ ³ö´í Öٲã©
can.CAN_RFLM = DISABLE;
can.CAN_TXFP = ENABLE;
can.CAN_Mode = CAN_Mode_Normal;
can.CAN_SJW = CAN_SJW_1tq;
can.CAN_BS1 = CAN_BS1_9tq;
can.CAN_BS2 = CAN_BS2_4tq;
can.CAN_Prescaler = 3; //CAN BaudRate 42/(1+9+4)/3=1Mbps
CAN_Init(CAN2, &can);
请问 这些里面的 txfp 什么的 都是什么意思 如果以后用的话怎么改呢?
|