Usart Registers: Spi Mode - Texas Instruments MSP430x1xx User Manual

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

14.3 USART Registers: SPI Mode

The USART registers, shown in Table 14−1 and Table 14−2, are byte
structured and should be accessed using byte instructions.
Table 14−1.USART0 Control and Status Registers
Register
USART control register
Transmit control register
Receive control register
Modulation control register
Baud rate control register 0
Baud rate control register 1
Receive buffer register
Transmit buffer register
SFR module enable register 1
SFR interrupt enable register 1
SFR interrupt flag register 1
† Does not apply to MSP430x12xx devices. Refer to the register definitions for registers and bit positions for these devices.
Table 14−2.USART1 Control and Status Registers
Register
USART control register
Transmit control register
Receive control register
Modulation control register
Baud rate control register 0
Baud rate control register 1
Receive buffer register
Transmit buffer register
SFR module enable register 2
SFR interrupt enable register 2
SFR interrupt flag register 2
Short Form
U0CTL
U0TCTL
U0RCTL
U0MCTL
U0BR0
U0BR1
U0RXBUF
U0TXBUF
ME1
IE1
IFG1
Short Form
U1CTL
U1TCTL
U1RCTL
U1MCTL
U1BR0
U1BR1
U1RXBUF
U1TXBUF
ME2
IE2
IFG2
Note: Modifying the SFR bits
To avoid modifying control bits for other modules, it is recommended to set
or clear the IEx and IFGx bits using BIS.B or BIC.B instructions, rather than
MOV.B or CLR.B instructions.
USART Registers: SPI Mode
Register Type Address
Read/write
070h
Read/write
071h
Read/write
072h
Read/write
073h
Read/write
074h
Read/write
075h
Read
076h
Read/write
077h
Read/write
004h
Read/write
000h
Read/write
002h
Register Type Address
Read/write
078h
Read/write
079h
Read/write
07Ah
Read/write
07Bh
Read/write
07Ch
Read/write
07Dh
Read
07Eh
Read/write
07Fh
Read/write
005h
Read/write
001h
Read/write
003h
USART Peripheral Interface, SPI Mode
Initial State
001h with PUC
001h with PUC
000h with PUC
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
000h with PUC
000h with PUC
082h with PUC
Initial State
001h with PUC
001h with PUC
000h with PUC
Unchanged
Unchanged
Unchanged
Unchanged
Unchanged
000h with PUC
000h with PUC
020h with PUC
14-13

Advertisement

Table of Contents
loading

Table of Contents