diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-21 21:09:45 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-21 21:10:00 +0100 |
commit | 56dc720dffcc4639e0bb5492c6101f3e2aa9b5ad (patch) | |
tree | e2c4ad6c212049830e6de986f5aacf00319816a1 /src/arch/msp430fr5994lp | |
parent | 4cd3ce53b396b7daa46fb9e1ba333f687af0eb2a (diff) |
Remove unused TIMER_US support
Diffstat (limited to 'src/arch/msp430fr5994lp')
-rw-r--r-- | src/arch/msp430fr5994lp/arch.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/arch/msp430fr5994lp/arch.cc b/src/arch/msp430fr5994lp/arch.cc index b79b8b0..d1fceaf 100644 --- a/src/arch/msp430fr5994lp/arch.cc +++ b/src/arch/msp430fr5994lp/arch.cc @@ -108,25 +108,6 @@ void Arch::setup(void) CSCTL0_H = 0; #endif -#ifdef TIMER_US -#if F_CPU == 16000000UL - TA0CTL = TASSEL__SMCLK | ID__8 | MC__CONTINUOUS; // /8 - TA0EX0 = 1; // /2 -> /16 -#elif F_CPU == 8000000UL - TA0CTL = TASSEL__SMCLK | ID__8 | MC__CONTINUOUS; // /8 - TA0EX0 = 0; // /1 -> /8 -#elif F_CPU == 4000000UL - TA0CTL = TASSEL__SMCLK | ID__4 | MC__CONTINUOUS; // /4 - TA0EX0 = 0; // /1 -> /8 -#elif F_CPU == 1000000UL - TA0CTL = TASSEL__SMCLK | ID__1 | MC__CONTINUOUS; // /1 - TA0EX0 = 0; // /1 -> /8 -#else -#error Unsupported F_CPU -#endif /* F_CPU */ - TA0CTL |= TACLR; -#endif /* TIMER_US */ - #if F_CPU == 32768UL CSCTL0_H = CSKEY >> 8; CSCTL2 = SELA__LFXTCLK | SELS__LFXTCLK | SELM__LFXTCLK; |