URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [docs/] [datasheet/] [soc_neoled.adoc] - Diff between revs 68 and 69
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 68 |
Rev 69 |
Line 171... |
Line 171... |
|
|
If _NEOLED_CTRL_IRQ_CONF_ is cleared, an interrupt is generated whenever the TX FIFO _becomes_ less than half-full.
|
If _NEOLED_CTRL_IRQ_CONF_ is cleared, an interrupt is generated whenever the TX FIFO _becomes_ less than half-full.
|
In this case software can write up to _IO_NEOLED_TX_FIFO_/2 new data words to `DATA` without checking the FIFO
|
In this case software can write up to _IO_NEOLED_TX_FIFO_/2 new data words to `DATA` without checking the FIFO
|
status flags. If _NEOLED_CTRL_IRQ_CONF_ is set, an interrupt is generated whenever the TX FIFO _becomes_ empty.
|
status flags. If _NEOLED_CTRL_IRQ_CONF_ is set, an interrupt is generated whenever the TX FIFO _becomes_ empty.
|
|
|
A pending interrupt request is cleared is cleared by any of the following operations:
|
One the NEOLED interrupt has been triggered and became pending, it has to explicitly cleared again by setting the
|
* write access to `NEORV32_NEOLED.DATA` (for example to send more LED data)
|
according `mip` CSR bit.
|
* write access to `NEORV32_NEOLED.CTRL`
|
|
* disabling the NEOLED module
|
|
|
|
[NOTE]
|
[NOTE]
|
The _NEOLED_CTRL_IRQ_CONF_ is hardwired to one if _IO_NEOLED_TX_FIFO_ = 1 (-> IRQ if FIFO is empty).
|
The _NEOLED_CTRL_IRQ_CONF_ is hardwired to one if _IO_NEOLED_TX_FIFO_ = 1 (-> IRQ if FIFO is empty).
|
|
|
If the FIFO is configured to contain only a single entry (_IO_NEOLED_TX_FIFO_ = 1) the interrupt
|
If the FIFO is configured to contain only a single entry (_IO_NEOLED_TX_FIFO_ = 1) the interrupt
|
will become pending if the FIFO (which is just a single register providing simple _double-buffering_) is empty.
|
will become pending if the FIFO (which is just a single register providing simple _double-buffering_) is empty.
|
|
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.