HSI_MODE_FRAME
if ((rxc->mode != HSI_MODE_STREAM) && (rxc->mode != HSI_MODE_FRAME))
if (rxc->mode == HSI_MODE_FRAME)
if ((txc->mode != HSI_MODE_STREAM) && (txc->mode != HSI_MODE_FRAME))
*result = HSI_MODE_FRAME;