09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Universal synchronous asynchronous receiver transmitter (USART) <strong>RM0090</strong><br />

Bit 8 LBCL: Last bit clock pulse<br />

This bit allows the user to select whether the clock pulse associated with the last data bit<br />

transmitted (MSB) has to be output on the SCLK pin in synchronous mode.<br />

0: The clock pulse of the last data bit is not output to the SCLK pin<br />

1: The clock pulse of the last data bit is output to the SCLK pin<br />

Note: 1: The last bit is the 8th or 9th data bit transmitted depending on the 8 or 9 bit format selected<br />

by the M bit in the USART_CR1 register.<br />

2: This bit is not available for UART4 & UART5.<br />

Bit 7 Reserved, must be kept at reset value<br />

Bit 6 LBDIE: LIN break detection interrupt enable<br />

Break interrupt mask (break detection using break delimiter).<br />

0: Interrupt is inhibited<br />

1: An interrupt is generated whenever LBD=1 in the USART_SR register<br />

Bit 5 LBDL: lin break detection length<br />

This bit is for selection between 11 bit or 10 bit break detection.<br />

0: 10-bit break detection<br />

1: 11-bit break detection<br />

Bit 4 Reserved, must be kept at reset value<br />

Bits 3:0 ADD[3:0]: Address of the USART node<br />

This bit-field gives the address of the USART node.<br />

This is used in multiprocessor communication during mute mode, for wake up with address mark<br />

detection.<br />

Note: These 3 bits (CPOL, CPHA, LBCL) should not be written while the transmitter is enabled.<br />

26.6.6 Control register 3 (USART_CR3)<br />

Address offset: 0x14<br />

Reset value: 0x0000 0000<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

ONEBIT CTSIE CTSE RTSE DMAT DMAR SCEN NACK HDSEL IRLP IREN EIE<br />

rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bits 31:12 Reserved, must be kept at reset value<br />

Bit 11 ONEBIT: One sample bit method enable<br />

This bit allows the user to select the sample method. When the one sample bit method is<br />

selected the noise detection flag (NF) is disabled.<br />

0: Three sample bit method<br />

1: One sample bit method<br />

Bit 10 CTSIE: CTS interrupt enable<br />

0: Interrupt is inhibited<br />

1: An interrupt is generated whenever CTS=1 in the USART_SR register<br />

Note: This bit is not available for UART4 & UART5.<br />

785/1416 Doc ID 018909 Rev 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!