// NOTE: Interrupt 1 is offset by 16 to account for internal interrupts #define MCAN_INTR1 38 HwiP_Params hwiPrms; static HwiP_Object gMcanHwiObject; HwiP_Params_init(&hwiPrms); hwiPrms.intNum = MCAN_INTR1; hwiPrms.callback = &MCAN_Intr1ISR; // Define your own ISR status = HwiP_construct(&gMcanHwiObject, &hwiPrms); DebugP_assert(status == SystemP_SUCCESS);