aboutsummaryrefslogtreecommitdiffstats
path: root/include/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clock.h')
-rw-r--r--include/clock.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/clock.h b/include/clock.h
index c12c41e..7446dd1 100644
--- a/include/clock.h
+++ b/include/clock.h
@@ -1,6 +1,21 @@
/**
* @file clock.h
* Basic clock utilities
+ *
+ * Copyright (C) 2018 Clyne Sullivan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef CLOCK_H_
@@ -9,7 +24,7 @@
#include <stdint.h>
/**
- * Sets HCLK (system clock) to 80MHz, the maximum.
+ * Initializes clocks, setting HCLK (system clock) to 80MHz, the maximum.
*/
extern void clock_init(void);