merged trcv states to one var

added function for reading RX data