![Analog Devices Blackfin ADSP-BF537 Скачать руководство пользователя страница 819](http://html.mh-extra.com/html/analog-devices/blackfin-adsp-bf537/blackfin-adsp-bf537_hardware-reference-manual_2939700819.webp)
ADSP-BF537 Blackfin Processor Hardware Reference
13-21
UART Port Controllers
UARTx_LCR Registers
The
UARTx_LCR
registers, shown in
, control the format of
received and transmitted character frames.
The 2-bit
WLS
field determines whether the transmitted and received
UART word consists of 5, 6, 7 or 8 data bits.
The
STB
bit controls how many stop bits are appended to transmitted
data. When
STB=0
, one stop bit is transmitted. If
WLS
is non zero,
STB=1
instructs the transmitter to add one additional stop bit, two stop bits in
total. If
WLS=0
and 5-bit operation is chosen,
STB=1
forces the transmitter
to append one additional half bit, 1 1/2 stop bits in total. Note that this
bit does not impact data reception—the receiver is always satisfied with
one stop bit.
Figure 13-7. UART Line Control Registers
DLAB (Divisor Latch Access)
1 - Enables access to UARTx_DLL
and UARTx_DLH
0 - Enables access to UARTx_THR,
UARTx_RBR, and UARTx_IER
SB (Set Break)
0 - No force
1 - Force TX pin to 0
STP (Stick Parity)
Forces parity to defined value if set and PEN = 1
EPS = 1, parity transmitted and checked as 0
EPS = 0, parity transmitted and checked as 1
EPS (Even Parity Select)
1 - Even parity
0 - Odd parity when PEN = 1 and STP = 0
WLS[1:0] (Word Length Select)
00 - 5-bit word
01 - 6-bit word
10 - 7-bit word
11 - 8-bit word
STB (Stop Bits)
1 - 2 stop bits for non-5-bit
word length or 1 1/2 stop
bits for 5-bit word length
0 - 1 stop bit
PEN (Parity Enable)
1 - Transmit and check parity
0 - Parity not transmitted or
checked
UART Line Control Registers (UARTx_LCR)
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset = 0x0000
UART0:
0xFFC0 040C
UART1:
0xFFC0 200C
Содержание Blackfin ADSP-BF537
Страница 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...