I
2
C Module Registers
15-21
USART Peripheral Interface, I
2
C Mode
U0CTL, USART0 Control Register-I
2
C Mode
7
6
5
4
3
2
1
0
RXDMAEN
TXDMAEN
I2C
XA
LISTEN
SYNC
MST
I2CEN
rw−0
rw−0
rw−0
rw−0
rw−0
rw−0
rw−0
rw−1
RXDMAEN
Bit 7
Receive DMA enable. This bit enables the DMA controller to be used to
transfer data from the I
2
C module after the I
2
C modules receives data. When
RXDMAEN = 1, RXRDYIE is ignored.
0
Disabled
1
Enabled
TXDMAEN
Bit 6
Transmit DMA enable. This bit enables the DMA controller to be used to
provide data to the I
2
C module for transmission. When TXDMAEN = 1,
TXRDYIE, is ignored.
0
Disabled
1
Enabled
I2C
Bit 5
I
2
C mode enable. This bit select I
2
C or SPI operation when SYNC = 1.
0
SPI mode
1
I
2
C mode
XA
Bit 4
Extended Addressing
0
7-bit addressing
1
10-bit addressing
LISTEN
Bit 3
Listen. This bit selects loopback mode. LISTEN is only valid when MST = 1
and I2CTRX = 1 (master transmitter).
0
Normal mode
1
SDA is internally fed back to the receiver (loopback).
SYNC
Bit 2
Synchronous mode enable
0
UART mode
1
SPI or I
2
C mode
MST
Bit 1
Master. This bit selects master or slave mode. The MST bit is automatically
cleared when arbitration is lost or a STOP condition is generated.
0
Slave mode
1
Master mode
I2CEN
Bit 0
I
2
C enable. The bit enables or disables the I
2
C module. The initial condition
for this bit is set, and SWRST function for UART or SPI. When the I2C and
SYNC bits are first set after a PUC, this bit becomes I2CEN function and is
automatically cleared.
0
I
2
C operation is disabled
1
I
2
C operation is enabled
Summary of Contents for MSP430x1xx
Page 1: ... 2005 Mixed Signal Products User s Guide SLAU049E ...
Page 6: ...vi ...
Page 18: ...1 6 Introduction ...
Page 36: ...2 18 System Resets Interrupts and Operating Modes ...
Page 112: ...3 76 ...
Page 130: ...4 18 Basic Clock Module ...
Page 152: ...5 22 Flash Memory Controller ...
Page 160: ...6 8 Supply Voltage Supervisor ...
Page 168: ...7 8 Hardware Multiplier ...
Page 192: ...8 24 ...
Page 200: ...9 8 Digital I O ...
Page 234: ...11 24 Timer_A ...
Page 260: ...12 26 Timer_B ...
Page 291: ...13 31 USART Peripheral Interface UART Mode ...
Page 314: ...14 23 USART Peripheral Interface SPI Mode ...
Page 346: ...15 32 USART Peripheral Interface I2C Mode ...
Page 358: ...16 12 Comparator_A ...
Page 386: ...17 28 ADC12 ...
Page 418: ...18 32 ADC10 ...
Page 432: ...19 14 DAC12 ...