From bbb7f062f874f97579808bdb66d40676bf0cc73f Mon Sep 17 00:00:00 2001 From: polymurph Date: Sat, 12 Mar 2022 09:35:10 +0100 Subject: [PATCH] work on doku --- bsl/csl/interfaces/timer.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/bsl/csl/interfaces/timer.h b/bsl/csl/interfaces/timer.h index b5f7baa..d375f71 100644 --- a/bsl/csl/interfaces/timer.h +++ b/bsl/csl/interfaces/timer.h @@ -31,16 +31,18 @@ typedef enum { prescalerOutOfRange /*!< Set prescaler value exeeds the Register's **HARDWARE** size */ } timerError_t; +/*! Enum of possible counting modes */ typedef enum { - upCounting, - downCounting + upCounting, /*!< Counter is in upcounting mode */ + downCounting /*!< Counter is in downcounting mode */ } timerCountDirection_t; +/*! Enum of possible timer modes */ typedef enum { - counter, - inputCapture, - outputCompare, - onePulse + counter, /*!< Timer is in counting mode */ + inputCapture, /*!< */ + outputCompare, /*!< */ + onePulse /*!< */ } timerMode_t; /*!