From 2af21e4ab5cc6d1e9a3af21bc0afa2909c55b518 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Fri, 2 Aug 2024 13:05:46 -0700 Subject: [PATCH] Added a Timer interface module. --- src/timer/timer.c | 13 ++++++++----- src/timer/timer.h | 8 ++++---- tests/timer/test_timer.cpp | 1 + 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/timer/timer.c b/src/timer/timer.c index 6e3b728..c9f1804 100644 --- a/src/timer/timer.c +++ b/src/timer/timer.c @@ -1,10 +1,13 @@ -/* - * Author: username - * Date: 2024 - * filename: timer.c - * description: module_purpose +/** + * @brief PUT_TEXT_HERE + * @details This file is... + * @author username + * @date todays_date + * @copyright None + * @file module_name.h */ + #include "timer.h" // dumb test function diff --git a/src/timer/timer.h b/src/timer/timer.h index 78aa523..a2c4eab 100644 --- a/src/timer/timer.h +++ b/src/timer/timer.h @@ -1,8 +1,8 @@ /** - * @brief PUT_TEXT_HERE - * @details This file is... - * @author username - * @date todays_date + * @brief The AVR Timer module + * @details This file is used to interact with the hardware timers. + * @author Jake G + * @date 2024 * @copyright None * @file TIMER.h */ diff --git a/tests/timer/test_timer.cpp b/tests/timer/test_timer.cpp index 6046901..fe99f93 100644 --- a/tests/timer/test_timer.cpp +++ b/tests/timer/test_timer.cpp @@ -9,6 +9,7 @@ extern "C" { +#include "MockRegEdit.h" #include "timer.h" }