| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
STLC1502 Datasheet(PDF) 51 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STLC1502 Datasheet(HTML) 51 Page - STMicroelectronics |
|
51 / 81 page ![]() 51/81 STLC1502 to the rxfifo. If nothing happens, and the timeout counter reaches zero, the ASCStatus(Timeout- NotEmpty) flag will be set. Provided ASCIntEnable(TimeoutNotEmpty) is set, this will cause an interrupt. When the software has emptied the rxfifo, the timeout counter will reset and start decrementing. If no more characters arrive, when the counter reaches zero the ASCStatus(TimeoutIdle) flag will be set. Pro- vided the ASCIntEnable(TimeoutIdle) is set, per_interrupt will fire. 7.7.4 Interrupt control The UART contains two registers that are used to control interrupts, the status register (ASCStatus) and the interrupt enable register (ASCIntEnable). The status bits in the ASCStatus register determine the cause of the interrupt. Interrupts will occur when a status bit is 1 (high) and the corresponding bit in the ASCIntEnable register is 1. The error interrupt signal is generated by the UART from the OR of the parity error, framing error, and overrun error status bits after they have been ANDed with the corresponding enable bits in the ASCIn- tEnable register. An overall interrupt request signal (per_interrupt) is generated from the OR of the Error Interrupt signal and the TxEmpty, TxHalfEmpty, RxHalfFull, RxBufFull signals. Note: TxFull does not generate interrupt. The status register cannot be written directly by software. The reset mechanism for the status register is described below. • TxEmpty, TxHalfEmpty are reset when a character is written to the transmitter buffer. • TxFull is reset when a character is transmitted • RxBufFull and OverrunError are reset when a character is read from the receive Fifo. • The data error status bits (ParityError, FrameError) are reset when the character with error is read from the receive Fifo. 7.7.5 UART Memory map The base address of the UART interface is fixed by the APB bridge. Address Register Name R/W Notes UART_regBase+ 0x00 ASCBaudRate R/W Baud rate generator register UART_regBase+ 0x04 ASCTxBuffer WO Transmit buffer (Fifo) UART_regBase+ 0x08 ASCRxBuffer RO Receive buffer (Fifo). UART_regBase+ 0x0C ASCControl R/W UART control register. UART_regBase+ 0x10 ASCIntEnable R/W UART interrupt enable reg- ister UART_regBase+ 0x14 ASCStatus RO UART status register. UART_regBase+ 0x18 ASCGuardtime R/W UART Guartime register. UART_regBase+ 0x1C ASCTimeout R/W UART Timeout register. |
|
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 |
| 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 |