USCI Operation: I2C Mode
21-14
Universal Serial Communication Interface, I2C Mode
I
2
C Slave 10-Bit Addressing Mode
The 10-bit addressing mode is selected when UCA10 = 1 and is as shown in
Figure 21−11. In 10-bit addressing mode, the slave is in receive mode after the
full address is received. The USCI module indicates this by setting the
UCSTTIFG flag while the UCTR bit is cleared. To switch the slave into
transmitter mode the master sends a repeated START condition together with
the first byte of the address but with the R/W bit set. This will set the UCSTTIFG
flag if it was previously cleared by software and the USCI modules switches
to transmitter mode with UCTR = 1.
Figure 21−11.I
2
C Slave 10-bit Addressing Mode
S
S
11110 xx/W
A
SLA (2.)
A
P or S
Reception of own
address and data
bytes. All are
acknowledged.
UCBxRXIFG= 1
DATA
DATA
A
A
UCTR= 0( Receiver)
UCSTTIFG= 1
UCSTPIFG= 0
Gen Call
A
UCTR= 0(Receiver)
UCSTTIFG= 1
UCGC= 1
Reception of the
general call
address.
P or S
UCBxRXIFG= 1
DATA
DATA
A
A
S
11110 xx/W
A
SLA (2.)
A
UCTR= 0(Receiver)
UCSTTIFG= 1
UCSTPIFG= 0
11110 xx/R
A
UCTR= 1(Transmitter)
UCSTTIFG= 1
UCBxTXIFG= 1
UCSTPIFG= 0
UCSTTIFG= 0
DATA
A
P or S
Reception of own
address and
transmission of data
bytes
Slave Transmitter
Slave Receiver
Содержание MSP430x4xx Family
Страница 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Страница 2: ......
Страница 6: ...vi ...
Страница 114: ...3 76 RISC 16 Bit CPU ...
Страница 304: ...5 20 FLL Clock Module ...
Страница 340: ...7 8 Supply Voltage Supervisor ...
Страница 348: ...8 8 16 Bit Hardware Multiplier ...
Страница 372: ...9 24 32 Bit Hardware Multiplier ...
Страница 400: ...10 28 DMA Controller ...
Страница 428: ...13 10 Basic Timer1 ...
Страница 466: ...15 24 Timer_A ...
Страница 522: ...17 30 USART Peripheral Interface UART Mode ...
Страница 544: ...18 22 USART Peripheral Interface SPI Mode ...
Страница 672: ...23 12 Comparator_A ...
Страница 692: ...24 20 LCD Controller ...
Страница 746: ...26 28 ADC12 ...