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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [lib/] [source/] [neorv32_gptmr.c] - Diff between revs 67 and 69

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

Rev 67 Rev 69
Line 113... Line 113...
void neorv32_gptmr_restart(void) {
void neorv32_gptmr_restart(void) {
 
 
  NEORV32_GPTMR.COUNT = 0;
  NEORV32_GPTMR.COUNT = 0;
}
}
 
 
 
 
/**********************************************************************//**
 
 * Acknowledge interrupt / clear pending alarm.
 
 **************************************************************************/
 
void neorv32_gptmr_ack_irq(void) {
 
 
 
  NEORV32_GPTMR.CTRL &= ~((uint32_t)(1 << GPTMR_CTRL_ALARM));
 
}
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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