Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X Datenbogen

Produktcode
DK-TM4C129X
Seite von 2182
Register 8: UART Control (UARTCTL), offset 0x030
The UARTCTL register is the control register. All the bits are cleared on reset except for the Transmit
Enable (
TXE
) and Receive Enable (
RXE
) bits, which are set.
To enable the UART module, the
UARTEN
bit must be set. If software requires a configuration change
in the module, the
UARTEN
bit must be cleared before the configuration changes are written. If the
UART is disabled during a transmit or receive operation, the current transaction is completed prior
to the UART stopping.
Note:
Registers that contain bits for modem control or status only apply to the following UARTs:
■ UART0 (modem flow control and modem status)
■ UART1 (modem flow control and modem status)
■ UART2 (modem flow control)
■ UART3 (modem flow control)
■ UART4 (modem flow control)
Note:
The UARTCTL register should not be changed while the UART is enabled or else the results
are unpredictable. The following sequence is recommended for making changes to the
UARTCTL register.
1.
Disable the UART.
2.
Wait for the end of transmission or reception of the current character.
3.
Flush the transmit FIFO by clearing bit 4 (
FEN
) in the line control register (UARTLCRH).
4.
Reprogram the control register.
5.
Enable the UART.
UART Control (UARTCTL)
UART0 base: 0x4000.C000
UART1 base: 0x4000.D000
UART2 base: 0x4000.E000
UART3 base: 0x4000.F000
UART4 base: 0x4001.0000
UART5 base: 0x4001.1000
UART6 base: 0x4001.2000
UART7 base: 0x4001.3000
Offset 0x030
Type RW, reset 0x0000.0300
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
reserved
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
UARTEN
SIREN
SIRLP
SMART
EOT
HSE
reserved
LBE
TXE
RXE
DTR
RTS
reserved
RTSEN
CTSEN
RW
RW
RW
RW
RW
RW
RO
RW
RW
RW
RW
RW
RO
RO
RW
RW
Type
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
Reset
1337
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller