| Electronic Components Datasheet Search |
|
STM8S Datasheet(PDF) 364 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S Datasheet(HTML) 364 Page - STMicroelectronics |
|
364 / 467 page ![]() Universal asynchronous receiver transmitter (UART) RM0016 364/467 DocID14587 Rev 14 Bit 3 OR: Overrun error(2) This bit is set by hardware when the word currently being received in the shift register is ready to be transferred into the RDR register while RXNE=1. An interrupt is generated if RIEN=1 in the UART_CR2 register. It is cleared by a software sequence (a read to the UART_SR register followed by a read to the UART_DR register). 0: No Overrun error 1: Overrun error is detected LHE LIN Header Error (LIN slave mode) During LIN Header reception, this bit signals three error types: – Break delimiter too short – Synch Field error – Deviation error (if LASE=1) – Identifier framing error 0: No LIN Header error 1: LIN Header error detected Bit 2 NF: Noise flag (3) This bit is set by hardware when noise is detected on a received frame. It is cleared by a software sequence (a read to the UART_SR register followed by a read to the UART_DR register). 0: No noise is detected 1: Noise is detected Bit 1 FE: Framing error (4) This bit is set by hardware when a de-synchronization, excessive noise or a break character is detected. It is cleared by a software sequence (a read to the UART_SR register followed by a read to the UART_DR register). 0: No Framing error is detected 1: Framing error or break character is detected Note: For the UART2 and UART3, in LIN slave mode (bits LINE and LSLV are set), when a framing error is detected in the Synch or Identifier Fields , the FE bit is set. But the FE bit will not be set when a Break reception is detected. Bit 0 PE: Parity error This bit is set by hardware when a parity error occurs in receiver mode. It is cleared by a software sequence (a read to the status register followed by a read to the UART_DR data register). You have to wait for the RXNE flag to be set before clearing it. An interrupt is generated if PIEN=1 in the UART_CR1 register. 0: No parity error 1: Parity error (or, in LIN slave mode, identifier parity error) 1. The IDLE bit will not be set again until the RXNE bit has been set itself (i.e. a new idle line occurs) 2. When this bit is set, the RDR register content will not be lost but the shift register will be overwritten. 3. This bit does not generate interrupt as it appears at the same time as the RXNE bit which itself generates an interrupt. 4. This bit does not generate interrupt as it appears at the same time as the RXNE bit which itself generates an interrupt. If the word currently being transferred causes both frame error and overrun error, it will be transferred and only the OR bit will be set. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |