Register CAN callback function to interrupt.
int32_t can_async_register_callback( struct can_async_descriptor *const descr, enum can_async_callback_type type, FUNC_PTR cb )
Type: struct can_async_descriptor Struct *const
The CAN descriptor
Type: enum can_async_callback_type
Callback type
Type: FUNC_PTR typedef
A callback function, passing NULL will de-register any registered callback
Type: int32_t
The status of callback assignment.