summaryrefslogtreecommitdiff
path: root/riscv.c
diff options
context:
space:
mode:
authorOliver Kleinke <oliver.kleinke@c-01a.de>2023-05-26 13:10:39 +0200
committerJiri Gaisler <jiri@gaisler.se>2023-06-06 22:01:35 +0200
commit9756ed371db6fc1babe3949a738d9e2f676d141e (patch)
tree810aa081e8b524a1c518c1f90ba58e36d61b3d87 /riscv.c
parent2d01c2b1d3915aa7c0aef7728cd64ff7fdd979d5 (diff)
leon3/gptimer: Set IP bit on interrupt
Setting the IP bit in the GPTIMER CTRL register is necessary, if using shared interrupts, to determine which of the timers generated the interrupt. The IP bit is cleared when a one is written to it.
Diffstat (limited to 'riscv.c')
0 files changed, 0 insertions, 0 deletions