/* introduce function I3C_SlaveTransferHandleEventSent. This function was deal sent event.  */
static void I3C_SlaveTransferHandleEventSent(I3C_Type *base, i3c_slave_handle_t *handle, i3c_slave_transfer_t *xfer)
/* introduce function I3C_SlaveTransferHandleEventSent. This function was deal sent event.  */
static void I3C_SlaveTransferHandleEventSent(I3C_Type *base, i3c_slave_handle_t *handle, i3c_slave_transfer_t *xfer)
{
    xfer->event = (uint32_t)kI3C_SlaveRequestSentEvent;
    if (handle->ibiData != NULL)
    {
        size_t count = 0U;
        while (count < handle->ibiDataSize)
        {
            base->SCTRL = (base->SCTRL & ~I3C_SCTRL_IBIDATA_MASK) | I3C_SCTRL_IBIDATA(handle->ibiData[count]) |
                          I3C_SCTRL_EVENT(1U);
            count++;
        }
    }
    handle->ibiData = NULL;
    if ((0UL != (handle->eventMask & xfer->event)) && (NULL != handle->callback))
    {
        handle->callback(base, xfer, handle->userData);
    }
}