45.6.5.2 Programming Client Mode
The following fields must be programmed before entering Client mode:
- TWIHS_SMR.SADR: The client device address is used in order to be accessed by host devices in Read or Write mode.
- (Optional) TWIHS_SMR.MASK can be set to mask some SADR address bits and thus allow multiple address matching.
- TWIHS_CR.MSDIS: Disables the Host mode.
- TWIHS_CR.SVEN: Enables the Client mode.
As the device receives the clock, values written in TWIHS_CWGR are ignored.