/* This routine configures FDCAN to enable certain IRQ. Each FDCAN block supports two IRQs. */
void fdcan_enable_irq(uint32_t canport, uint32_t irq)
/* This routine configures FDCAN to enable certain IRQ. Each FDCAN block supports two IRQs. */
void fdcan_enable_irq(uint32_t canport, uint32_t irq)
{
	FDCAN_ILE(canport) |= irq & (FDCAN_ILE_INT0 | FDCAN_ILE_INT1);
}