46.6.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.