/* This function is called when the RX interrupt signal is asserted by the CAN controller. */
static void can_rec_callback(void *cb_param, uint32_t event, void *arg)
/* This function is called when the RX interrupt signal is asserted by the CAN controller. */
static void can_rec_callback(void *cb_param, uint32_t event, void *arg)
{
	((struct cn0401_dev *)cb_param)->rec_flag = true;
	NVIC_DisableIRQ(XINT_EVT0_IRQn);
}