26.3.2.1.1 Master Initialization
The Master Baud Rate (TWIn.MBAUD) register must be written
to a value that will result in a valid TWI bus clock frequency.
Writing a ‘1
’ to the Enable TWI Master (ENABLE)
bit in the Master Control A (TWIn.MCTRLA) register will start
the TWI master. The Bus State (BUSSTATE) bit field from the
Master Status (TWIn.MSTATUS) register must be set to
0x1
, to force the bus state to
Idle.