42.8.3 TWIHS Client Mode Register

Name: TWIHS_SMR
Offset: 0x08
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
 DATAMENSADR3ENSADR2ENSADR1EN     
Access R/WR/WR/WR/W 
Reset 0000 
Bit 2322212019181716 
  SADR[6:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 15141312111098 
  MASK[6:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 76543210 
  SCLWSDIS  SMHHSMDA NACKEN 
Access R/WR/WR/WR/W 
Reset 0000 

Bit 31 – DATAMEN Data Matching Enable

ValueDescription
0

Data matching on first received data is disabled.

1

Data matching on first received data is enabled.

Bit 30 – SADR3EN Client Address 3 Enable

ValueDescription
0

Client address 3 matching is disabled.

1

Client address 3 matching is enabled.

Bit 29 – SADR2EN Client Address 2 Enable

ValueDescription
0

Client address 2 matching is disabled.

1

Client address 2 matching is enabled.

Bit 28 – SADR1EN Client Address 1 Enable

ValueDescription
0

Client address 1 matching is disabled.

1

Client address 1 matching is enabled.

Bits 22:16 – SADR[6:0] Client Address

The Client device address is used in Client mode in order to be accessed by Host devices in Read or Write mode.

SADR must be programmed before enabling the Client mode or after a general call. Writes at other times have no effect.

Bits 14:8 – MASK[6:0] Client Address Mask

A mask can be applied on the Client device address in Client mode in order to allow multiple address answer. For each bit of the MASK field set to 1, the corresponding SADR bit is masked.

If the MASK field value is 0, no mask is applied to the SADR field.

Bit 6 – SCLWSDIS Clock Wait State Disable

ValueDescription
0

No effect.

1

Clock stretching disabled in Client mode, OVRE and UNRE indicate an overrun/underrun.

Bit 3 – SMHH SMBus Host Header

ValueDescription
0

Acknowledge of the SMBus host header disabled.

1

Acknowledge of the SMBus host header enabled.

Bit 2 – SMDA SMBus Default Address

ValueDescription
0

Acknowledge of the SMBus default address disabled.

1

Acknowledge of the SMBus default address enabled.

Bit 0 – NACKEN Client Receiver Data Phase NACK enable

ValueDescription
0

Normal value to be returned in the ACK cycle of the data phase in Client Receiver mode.

1

NACK value to be returned in the ACK cycle of the data phase in Client Receiver mode.