| 数据搜索系统,热门电子元器件搜索 |
|
RM0352 数据表(PDF) 118 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0352 数据表(HTML) 118 Page - STMicroelectronics |
|
118 / 138 page ![]() UART (universal asynchronous receive transmit) RM0352 118/138 DocID024647 Rev 1 To update the transmit FIFO you must: • Write data to the transmit FIFO, either prior to enabling the UART and the interrupts, or after enabling the UART and interrupts. Note: The transmit interrupt is based on a transition through a level, rather than on the level itself. When the interrupt and the UART is enabled before any data is written to the transmit FIFO the interrupt is not set. The interrupt is only set, after written data leaves the single location of the transmit FIFO and it becomes empty. 12.4.4 UARTRTINTR The receive timeout interrupt is asserted when the receive FIFO is not empty, and no more data is received during a 32-bit period. The receive timeout interrupt is cleared either when the FIFO becomes empty through reading all the data (or by reading the holding register), or when a 1 is written to the corresponding bit of the interrupt clear register, UARTICR - see Section 12.6.13 on page 133. 12.4.5 UARTEINTR The error interrupt is asserted when an error occurs in the reception of data by the UART. The interrupt can be caused by a number of different error conditions: • Framing • Parity • Break • Overrun The cause of the interrupt is visible by reading the raw interrupt status register, UARTRIS - see Section 12.6.11 on page 131 or the masked interrupt status register, UARTMIS - see Section 12.6.12 on page 132. It can be cleared by writing to the relevant bits of the interrupt clear register, UARTICR - see Section 12.6.13 on page 133 (bits 7 to 10 are the error clear bits). 12.4.6 UARTINTR The interrupts are also combined into a single output, that is an OR function of the individual masked sources. This output is connected to the “Nested Vector Interrupt Controller” (NVIC) to provide another level of masking on a individual peripheral basis (see Table 3 on page 17. The combined UART interrupt is asserted if any of the individual interrupts are asserted and enabled. 12.5 UART registers The UART base address block in the Brain memory map is 0xA200_0000. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |