Slave and master interface