USART Registers: SPI Mode
14-14
USART Peripheral Interface, SPI Mode
UxCTL, USART Control Register
7
6
5
4
3
2
1
0
Unused
Unused
I2C†
CHAR
LISTEN
SYNC
MM
SWRST
rw−0
rw−0
rw−0
rw−0
rw−0
rw−0
rw−0
rw−1
Unused
Bits
7−6
Unused
I2C
†
Bit 5
I2C mode enable. This bit selects I2C or SPI operation when SYNC = 1.
0
SPI mode
1
I
2
C mode
CHAR
Bit 4
Character length
0
7-bit data
1
8-bit data
LISTEN
Bit 3
Listen enable. The LISTEN bit selects the loopback mode
0
Disabled
1
Enabled. The transmit signal is internally fed back to the receiver
SYNC
Bit 2
Synchronous mode enable
0
UART mode
1
SPI mode
MM
Bit 1
Master mode
0
USART is slave
1
USART is master
SWRST
Bit 0
Software reset enable
0
Disabled. USART reset released for operation
1
Enabled. USART logic held in reset state
† Applies to USART0 on MSP430x15x and MSP430x16x devices only.
Содержание MSP430x1xx
Страница 1: ... 2005 Mixed Signal Products User s Guide SLAU049E ...
Страница 6: ...vi ...
Страница 18: ...1 6 Introduction ...
Страница 36: ...2 18 System Resets Interrupts and Operating Modes ...
Страница 112: ...3 76 ...
Страница 130: ...4 18 Basic Clock Module ...
Страница 152: ...5 22 Flash Memory Controller ...
Страница 160: ...6 8 Supply Voltage Supervisor ...
Страница 168: ...7 8 Hardware Multiplier ...
Страница 192: ...8 24 ...
Страница 200: ...9 8 Digital I O ...
Страница 234: ...11 24 Timer_A ...
Страница 260: ...12 26 Timer_B ...
Страница 291: ...13 31 USART Peripheral Interface UART Mode ...
Страница 314: ...14 23 USART Peripheral Interface SPI Mode ...
Страница 346: ...15 32 USART Peripheral Interface I2C Mode ...
Страница 358: ...16 12 Comparator_A ...
Страница 386: ...17 28 ADC12 ...
Страница 418: ...18 32 ADC10 ...
Страница 432: ...19 14 DAC12 ...