Maybe something as simple as:
"Are you ready to send me data?"
"Send me data" (Some predefined size of data, maybe an 8-bit byte, maybe a 32-bit word, but only one defined size of data.)
"Are you ready to receive data?"
"Receive this data."
That goes down into the bowels of the system, probably at the hardware level. And the architecture of the interface has to be part of the low-level system language otherwise it gets fragmented.But then again, I'm not a systems programmer so what I'm looking for may not be possible.