USART Operation: SPI Mode
14-12
USART Peripheral Interface, SPI Mode
SPI Receive Interrupt Operation
The URXIFGx interrupt flag is set each time a character is received and loaded
into UxRXBUF as shown in Figure 14−11 and Figure 14−12. An interrupt
request is generated if URXIEx and GIE are also set. URXIFGx and URXIEx
are reset by a system reset PUC signal or when SWRST = 1. URXIFGx is
automatically reset if the pending interrupt is served or when UxRXBUF is
read.
Figure 14−11.Receive Interrupt Operation
URXS
Clear
τ
(S)
SYNC
Valid Start Bit
Receiver Collects Character
URXSE
From URXD
PE
FE
BRK
URXEIE
URXWIE
RXWAKE
Character Received
URXIFGx
URXIEx
Interrupt Service
Requested
SWRST
PUC
UxRXBUF Read
URXSE
IRQA
SYNC = 1
Clear
Figure 14−12. Receive Interrupt State Diagram
Receive
Character
Completed
Interrupt
Service Started,
GIE = 0
URXIFGx = 0
USPIEx = 0
URXIFGx = 1
USPIEx = 1 and
URXIEx = 1 and
GIE = 1 and
Priority Valid
GIE = 0
Priority
Too
Low
URXIFGx = 0
Wait For Next
Start
USPIEx = 0
SWRST = 1
PUC
USPIEx = 1
URXIEx = 0
SWRST = 1
Receive
Character
Содержание 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 ...