57.9.3.2 Programming Host Mode
The following fields must be programmed before entering Host mode:
- DADR (+ IADRSZ + IADR if a 10-bit device is addressed): The device address is used to access client devices in Read or Write mode.
- CWGR + CKDIV + CHDIV + CLDIV: Clock waveform.
- SVDIS: Disables Client mode.
- MSEN: Enables Host mode.
Note: If the TWI is already in Host mode, the
device address (DADR) can be configured without disabling Host mode.