Datasheet
Value Description
1
The Slave mode is disabled. The shifter and holding characters (if it contains data) are transmitted in
case of read operation. In write operation, the character being transferred must be completely received
before disabling.
Bit 4 – SVEN TWIHS Slave Mode Enabled
Switching from Master to Slave mode is only permitted when TXCOMP = 1.
Value Description
0
No effect.
1
Enables the Slave mode (SVDIS must be written to 0).
Bit 3 – MSDIS TWIHS Master Mode Disabled
Value Description
0
No effect.
1
The Master mode is disabled, all pending data is transmitted. The shifter and holding characters (if it
contains data) are transmitted in case of write operation. In read operation, the character being
transferred must be completely received before disabling.
Bit 2 – MSEN TWIHS Master Mode Enabled
Switching from Slave to Master mode is only permitted when TXCOMP = 1.
Value Description
0
No effect.
1
Enables the Master mode (MSDIS must be written to 0).
Bit 1 – STOP Send a ST
OP Condition
Value Description
0
No effect.
1
STOP condition is sent just after completing the current byte transmission in Master Read mode.
•
In single data byte master read, both START and STOP must be set.
• In multiple data bytes master read, the STOP must be set after the last data received but one.
• In Master Read mode, if a NACK bit is received, the STOP is automatically performed.
• In master data write operation, a STOP condition will be sent after the transmission of the current
data is finished.
Bit 0 – START Send a ST
ART Condition
This action is necessary when the TWIHS peripheral needs to read data from a slave. When configured in Master
mode with a write operation, a frame is sent as soon as the user writes a character in the Transmit Holding Register
(TWIHS_THR).
Value Description
0
No effect.
1
A frame beginning with a START bit is transmitted according to the features defined in the TWIHS
Master Mode Register (TWIHS_MMR).
SAM E70/S70/V70/V71 Family
T
wo-wire Interface (TWIHS)
© 2019 Microchip T
echnology Inc.
Datasheet
DS60001527D-page 1089










