42.7.5.2 Programming Client Mode

The following fields must be programmed before entering Client mode:

  1. TWIHS_SMR.SADR: The Client device address is used in order to be accessed by Host devices in Read or Write mode.
  2. (Optional) TWIHS_SMR.MASK can be set to mask some SADR address bits and thus allow multiple address matching.
  3. TWIHS_CR.MSDIS: Disables the Host mode.
  4. TWIHS_CR.SVEN: Enables the Client mode.

As the device receives the clock, values written in TWIHS_CWGR are ignored.