OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [docs/] [datasheet/] [soc_uart.adoc] - Diff between revs 68 and 69

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 68 Rev 69
Line 125... Line 125...
the RX FIFO _becomes_ at least half-full (-> _UART_CTRL_RX_HALF_ sets).
the RX FIFO _becomes_ at least half-full (-> _UART_CTRL_RX_HALF_ sets).
* If _UART0_TX_FIFO_ is greater than 1: If _UART_CTRL_TX_IRQ_ is `0` the TX interrupt goes pending when at least one entry
* If _UART0_TX_FIFO_ is greater than 1: If _UART_CTRL_TX_IRQ_ is `0` the TX interrupt goes pending when at least one entry
in the TX FIFO _becomes_ free (-> _UART_CTRL_TX_FULL_ clears). If _UART_CTRL_TX_IRQ_ is `1` the TX interrupt goes pending
in the TX FIFO _becomes_ free (-> _UART_CTRL_TX_FULL_ clears). If _UART_CTRL_TX_IRQ_ is `1` the TX interrupt goes pending
when the RX FIFO _becomes_ less than half-full (-> _UART_CTRL_TX_HALF_ clears).
when the RX FIFO _becomes_ less than half-full (-> _UART_CTRL_TX_HALF_ clears).
 
 
A **pending RX interrupt** request is cleared by any of the following operations:
Once the RX or TX interrupt has become pending, it has to be explicitly cleared again by setting the
* read access to `NEORV32_UART0.DATA` (for example to read incoming data)
according `mip` CSR bit.
* write access to `NEORV32_UART0.CTRL`
 
* disabling the UART module
 
 
 
A **pending TX interrupt** request is cleared by any of the following operations:
 
* write access to `NEORV32_UART0.DATA` (for example to send more data)
 
* write access to `NEORV32_UART0.CTRL`
 
* disabling the UART module
 
 
 
[TIP]
 
A dummy write to to the control register (i.e. `NEORV32_UART0.DATA = NEORV32_UART0.DATA`)
 
can be executed to acknowledge any interrupt.
 
 
 
 
 
**Simulation Mode**
**Simulation Mode**
 
 
The default UART0 operation will transmit any data written to the `DATA` register via the serial TX line at
The default UART0 operation will transmit any data written to the `DATA` register via the serial TX line at

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.