/* Configure the timestamp capture point, at the start or the end of frame.  */
void can_set_timestamp_capture_point(Can *p_can, uint32_t ul_flag)
/* Configure the timestamp capture point, at the start or the end of frame.  */
void can_set_timestamp_capture_point(Can *p_can, uint32_t ul_flag)
{
	if (ul_flag) {
		p_can->CAN_MR |= CAN_MR_TEOF;
	} else {
		p_can->CAN_MR &= ~CAN_MR_TEOF;
	}
}