diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-04 15:31:21 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-04 15:31:21 +0100 |
commit | f0c087f4ab3cae2d8da65cf51bb5b0e69fe72a76 (patch) | |
tree | d25c48766a295311c1f451dd26f5626d842c1ddb /include/arch/msp430fr5969lp | |
parent | 6fd09b2bb22f70b429b53a1205ced2487324fdd4 (diff) |
counter: Provide typedefs fore value/overflow type
Diffstat (limited to 'include/arch/msp430fr5969lp')
-rw-r--r-- | include/arch/msp430fr5969lp/driver/counter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/arch/msp430fr5969lp/driver/counter.h b/include/arch/msp430fr5969lp/driver/counter.h index e7f0507..501808b 100644 --- a/include/arch/msp430fr5969lp/driver/counter.h +++ b/include/arch/msp430fr5969lp/driver/counter.h @@ -1,6 +1,9 @@ #include <msp430.h> #include <stdint.h> +typedef counter_value_t uint16_t; +typedef counter_overflowed_t uint8_t; + class Counter { private: Counter(const Counter ©); |