AnsweredAssumed Answered

How to use MCAN_TransferCreateHandle(CAN_Type *base,mcan_handle_t *handle,mcan_transfer_callback_t callback,void *userData)

Question asked by tony zhao on Mar 8, 2017
Latest reply on Mar 15, 2017 by xiangjun.rong

Dear Sir,

    Could you kindly help explain this Function how to use in MSCAN Init?

 MCAN_Init(EXAMPLE_MCAN, &mcanConfig, MCAN_CLK_FREQ);

 MCAN_TransferCreateHandle(EXAMPLE_MCAN, &mcanHandle, mcan_callback, NULL);

I found that this function is after MCAN_Init.It seems that this function install a interrupt call back for projce.

I'm very confuse abut this.pls help me.thks a lot.

Outcomes