The monitor mode helps to monitor when the attached controller is in the busy state. The ready interrupt occurs only when it is not busy. This process can only be performed in manager mode.
- Select the monitor mode and clear the FIFOs. Write
60h
to the Control register. - Clear the interrupts. Read and write back the read value to the ISR status register.
- Enable the interrupts. Set the IER [SLV_RDY] bit =
1
. - Set the monitor delay. Write
Fh
to the Slave_Mon_Pause register. - Write the address. Write the address to the Address register.
- Wait for the slave to be ready. Poll on ISR [SLV_RDY] status
register bit until =
1
.