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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [docs/] [datasheet/] [soc_gptmr.adoc] - Diff between revs 69 and 73

Show entire file | Details | Blame | View Log

Rev 69 Rev 73
Line 7... Line 7...
|=======================
|=======================
| Hardware source file(s): | neorv32_gptmr.vhd |
| Hardware source file(s): | neorv32_gptmr.vhd |
| Software driver file(s): | neorv32_gptmr.c |
| Software driver file(s): | neorv32_gptmr.c |
|                          | neorv32_gptmr.h |
|                          | neorv32_gptmr.h |
| Top entity port:         | none |
| Top entity port:         | none |
| Configuration generics:  | _IO_GPTMR_EN_ | implement timer when _true_
| Configuration generics:  | _IO_GPTMR_EN_ | implement general purpose timer when _true_
| CPU interrupts:          | fast IRQ channel 12 | transmission done interrupt (see <<_processor_interrupts>>)
| CPU interrupts:          | fast IRQ channel 12 | transmission done interrupt (see <<_processor_interrupts>>)
|=======================
|=======================
 
 
 
 
**Theory of Operation**
**Theory of Operation**
Line 45... Line 45...
 
 
 
 
**Timer Interrupt**
**Timer Interrupt**
 
 
The timer interrupt is triggered when the timer is enabled and `COUNT` matches `THRES`. The interrupt
The timer interrupt is triggered when the timer is enabled and `COUNT` matches `THRES`. The interrupt
remains pending until explicitly cleared by writing the according `mip` CSR bit.
remains pending until explicitly cleared by writing zero to the according <<_mip>> CSR bit.
 
 
 
 
.GPTMR register map (`struct NEORV32_GPTMR`)
.GPTMR register map (`struct NEORV32_GPTMR`)
[cols="<2,<2,<4,^1,<7"]
[cols="<2,<2,<4,^1,<7"]
[options="header",grid="all"]
[options="header",grid="all"]

powered by: WebSVN 2.1.0

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