/* param base SRC peripheral base address. param sliceName The selected slice. See src_reset_slice_name_t for more details. retval kSRC_SliceResetInProcess The reset is in process. retval kSRC_SliceResetFinished The reset is finished.  */
src_slice_reset_state_t SRC_GetSliceResetState(SRC_Type *base, src_reset_slice_name_t sliceName)
/* param base SRC peripheral base address. param sliceName The selected slice. See src_reset_slice_name_t for more details. retval kSRC_SliceResetInProcess The reset is in process. retval kSRC_SliceResetFinished The reset is finished.  */
src_slice_reset_state_t SRC_GetSliceResetState(SRC_Type *base, src_reset_slice_name_t sliceName)
{
    uint32_t statusRegAddress;
    src_slice_reset_state_t ret;
    statusRegAddress = SRC_GET_SLICE_REGISTER_ADDRESS(base, sliceName, SRC_SLICE_STATUS_REGISTER_OFFSET);
    if (((*(uint32_t *)statusRegAddress) & SRC_SLICE_STAT_UNDER_RST_MASK) != 0UL)
    {
        ret = kSRC_SliceResetInProcess;
    }
    else
    {
        ret = kSRC_SliceResetFinished;
    }
    return ret;
}