USART Registers: SPI Mode
18-15
USART Peripheral Interface, SPI Mode
UxTCTL, USART Transmit Control Register
7
6
5
4
3
2
1
0
CKPH
CKPL
SSELx
Unused
Unused
STC
TXEPT
rw−0
rw−0
rw−0
rw−0
rw−0
rw−0
rw−0
rw−1
CKPH
Bit 7
Clock phase select.
0
Data is changed on the first UCLK edge and captured on the
following edge.
1
Data is captured on the first UCLK edge and changed on the
following edge.
CKPL
Bit 6
Clock polarity select
0
The inactive state is low.
1
The inactive state is high.
SSELx
Bits
5-4
Source select. These bits select the BRCLK source clock.
00
External UCLK (valid for slave mode only)
01
ACLK (valid for master mode only)
10
SMCLK (valid for master mode only)
11
SMCLK (valid for master mode only)
Unused
Bit 3
Unused
Unused
Bit 2
Unused
STC
Bit 1
Slave transmit control.
0
4-pin SPI mode: STE enabled.
1
3-pin SPI mode: STE disabled.
TXEPT
Bit 0
Transmitter empty flag. The TXEPT flag is not used in slave mode.
0
Transmission active and/or data waiting in UxTXBUF
1
UxTXBUF and TX shift register are empty
Содержание 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 ...