generic: Move generic parts of sam3x8e timer.c to generic directory

Most of sam3x8e/timer.c is going to be platform agnostic for any board
with standard irq handling.  Move the generic code into a new file
generic/timer.c.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2017-03-11 12:15:07 -05:00
1 parent 69b927bfe9
commit e5d7e593ec
6 files changed
+106 -90

No files matched your search

-1
View File
@@ -17,7 +17,6 @@
****************************************************************/
DECL_CONSTANT(CLOCK_FREQ, F_CPU);
DECL_CONSTANT(MCU, CONFIG_MCU);
// Return the number of clock ticks for a given number of microseconds
uint32_t