Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

RM0352 Datasheet(PDF) 126 Page - STMicroelectronics

No. de pieza RM0352
Descripción Electrónicos  Brain smart hub family
PDF  138 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0352 Datasheet(HTML) 126 Page - STMicroelectronics

Back Button RM0352 Datasheet HTML 122Page - STMicroelectronics RM0352 Datasheet HTML 123Page - STMicroelectronics RM0352 Datasheet HTML 124Page - STMicroelectronics RM0352 Datasheet HTML 125Page - STMicroelectronics RM0352 Datasheet HTML 126Page - STMicroelectronics RM0352 Datasheet HTML 127Page - STMicroelectronics RM0352 Datasheet HTML 128Page - STMicroelectronics RM0352 Datasheet HTML 129Page - STMicroelectronics RM0352 Datasheet HTML 130Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 126 / 138 page
background image
UART (universal asynchronous receive transmit)
RM0352
126/138
DocID024647 Rev 1
12.6.7
Line control register, UARTLCR_H
The UARTLCR_H register is the line control register. This register accesses bits 29 to 22 of
the UART line control register, UARTLCR.
All the bits are cleared to 0 when reset.
Table 123 lists the register bit assignments.
The UARTLCR_H, UARTIBRD, and UARTFBRD registers form the single 30-bit wide
UARTLCR register that is updated on a single write strobe generated by a UARTLCR_H
write. So, to internally update the contents of UARTIBRD and/or UARTFBRD, a
UARTLCR_H write must always be performed at the end (as indicated in
Note:below).
Table 123. UARTLCR_H register
Bits
Name
Function
15:8
-
RESERVED, do not modify, read as zero.
7
SPS
Stick parity select.
0 = stick parity is disabled
1 = either:
– if the EPS bit is 0 then the parity bit is transmitted and checked as 1
– if the EPS bit is 1 then the parity bit is transmitted and checked as 0.
This bit has no effect when the PEN bit disables parity checking and generation. See
Table 124 on
page 127 for the parity truth table.
6:5
WLEN
Word length. These bits indicate the number of data bits transmitted or received in a frame as
follows:
b11 = 8 bits
b10 = 7 bits
b01 = 6 bits
b00 = 5 bits.
4
FEN
Enable FIFOs:
0 = FIFOs are disabled (character mode) that is, the FIFOs become 1-byte-deep holding registers
1 = transmit and receive FIFO buffers are enabled (FIFO mode).
3
STP2
Two stop bits select. If this bit is set to 1, two stop bits are transmitted at the end of the frame. The
receive logic does not check for two stop bits being received.
2
EPS
Even parity select. Controls the type of parity the UART uses during transmission and reception:
0 = odd parity. The UART generates or checks for an odd number of 1 s in the data and parity bits.
1 = even parity. The UART generates or checks for an even number of 1 s in the data and parity
bits.
This bit has no effect when the PEN bit disables parity checking and generation. See
Table 124 on
page 127 for the parity truth table.
1
PEN
Parity enable:
0 = parity is disabled and no parity bit added to the data frame
1 = parity checking and generation is enabled.
See
Table 124 on page 127 for the parity truth table.
0
BRK
Send break. If this bit is set to 1, a low-level is continually output on the UARTTXD output, after
completing transmission of the current character. For the proper execution of the break command,
the software must set this bit for at least two complete frames.
For normal use, this bit must be cleared to 0.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com