URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [sw/] [lib/] [source/] [neorv32_uart.c] - Diff between revs 34 and 35
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 34 |
Rev 35 |
Line 116... |
Line 116... |
tx_irq_en = tx_irq_en << UART_CT_TX_IRQ;
|
tx_irq_en = tx_irq_en << UART_CT_TX_IRQ;
|
|
|
/* Enable the UART for SIM mode. */
|
/* Enable the UART for SIM mode. */
|
/* Only use this for simulation! */
|
/* Only use this for simulation! */
|
#ifdef UART_SIM_MODE
|
#ifdef UART_SIM_MODE
|
#warning UART_SIM_MODE enabled! Sending all UART.TX to text.io simulation output instead of real UART transmitter. Use this for simulations only!
|
#warning UART_SIM_MODE enabled! Sending all UART.TX data to text.io simulation output instead of real UART transmitter. Use this for simulations only!
|
uint32_t sim_mode = 1 << UART_CT_SIM_MODE;
|
uint32_t sim_mode = 1 << UART_CT_SIM_MODE;
|
#else
|
#else
|
uint32_t sim_mode = 0;
|
uint32_t sim_mode = 0;
|
#endif
|
#endif
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.