42.7.3.2 Programming Host Mode
The following registers must be programmed before entering Host mode:
- TWIHS_MMR.DADR (+ IADRSZ + IADR if a 10-bit device is addressed): The device address is used to access Client devices in Read or Write mode.
- TWIHS_CWGR.CKDIV + CHDIV + CLDIV: Clock Waveform register
- TWIHS_CR.SVDIS: Disables the Client mode
- TWIHS_CR.MSEN: Enables the Host mode
Note: If the TWIHS is already in Host mode, the
device address (DADR) can be configured without disabling the Host mode.