/* param base The I3C peripheral base address. param handle Pointer to the I3C slave driver handle. param callback User provided pointer to the asynchronous callback function. param userData User provided pointer to the application callback data.  */
void I3C_SlaveTransferCreateHandle(I3C_Type *base, i3c_slave_handle_t *handle, i3c_slave_transfer_callback_t callback, void *userData)
/* param base The I3C peripheral base address. param handle Pointer to the I3C slave driver handle. param callback User provided pointer to the asynchronous callback function. param userData User provided pointer to the application callback data.  */
void I3C_SlaveTransferCreateHandle(I3C_Type *base, i3c_slave_handle_t *handle, i3c_slave_transfer_callback_t callback, void *userData)
{
    uint32_t instance;
    assert(NULL != handle);
    (void)memset(handle, 0, sizeof(*handle));
    instance = I3C_GetInstance(base);
    handle->callback = callback;
    handle->userData = userData;
    s_i3cSlaveHandle[instance] = handle;
    s_i3cSlaveIsr = I3C_SlaveTransferHandleIRQ;
    I3C_SlaveDisableInterrupts(base, (uint32_t)kSlaveIrqFlags);
    (void)EnableIRQ(kI3cIrqs[instance]);
}