Microsoft Interview Question

Implement a driver for a data channel with read, write, data valid, and data lines