/* param base SRC peripheral base address. param sliceName The selected reset slice. See src_reset_slice_name_t for more details.  */
void SRC_LockSliceMode(SRC_Type *base, src_reset_slice_name_t sliceName)
/* param base SRC peripheral base address. param sliceName The selected reset slice. See src_reset_slice_name_t for more details.  */
void SRC_LockSliceMode(SRC_Type *base, src_reset_slice_name_t sliceName)
{
    uint32_t authenticationRegAddress;
    authenticationRegAddress =
        SRC_GET_SLICE_REGISTER_ADDRESS(base, sliceName, SRC_SLICE_AUTHENTICATION_REGISTER_OFFSET);
    *(volatile uint32_t *)authenticationRegAddress |= SRC_SLICE_AUTHEN_LOCK_MODE_MASK;
}