SERDATRF_RBF
while (((stat = custom.serdatr & 0xffff) & SERDATRF_RBF) == 0)
if ((code & SERDATRF_RBF) == 0)