How to reset I2C slave in ADuC702x?

if we use following method to reset I2C slave in ADuC702x, all status register will be reset, is it right?

     

       I2C0CFG &= 0xFFFE; // Switch slave off/on

      I2C0CFG |= 0x0001;

Parents Reply Children
No Data