63.9.3.2 Programming Host Mode

The following fields must be programmed before entering Host mode:

  1. DADR (+ IADRSZ + IADR if a 10-bit device is addressed): The device address is used to access client devices in Read or Write mode.
  2. CWGR + CKDIV + CHDIV + CLDIV: Clock waveform.
  3. SVDIS: Disables Client mode.
  4. MSEN: Enables Host mode.
Note: If the TWI is already in Host mode, the device address (DADR) can be configured without disabling Host mode.