/* param base XBARA peripheral address. return the mask of these status flag bits.  */
uint32_t XBARA_GetStatusFlags(XBARA_Type *base)
/* param base XBARA peripheral address. return the mask of these status flag bits.  */
uint32_t XBARA_GetStatusFlags(XBARA_Type *base)
{
    uint32_t status_flag;
    status_flag = ((base->CTRL0 & (XBARA_CTRL0_STS0_MASK | XBARA_CTRL0_STS1_MASK)) |
                   ((base->CTRL1 & (XBARA_CTRL1_STS2_MASK | XBARA_CTRL1_STS3_MASK)) << 16U));
    return status_flag;
}