diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-12-02 13:40:04 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-12-02 13:40:04 +0100 |
commit | e1526bb2c84b315c72a089dbb50447183d4b1685 (patch) | |
tree | f16d8fec3726dcfccf8640c1ce23ecf71213da0c /src/arch/msp430fr5994lp/driver/stdout.cc | |
parent | 0dbd065d0d0756a8645cdfb71f6572abfa0d013e (diff) |
msp430fr5994lp: add 16MHz HFXT clock source support
Diffstat (limited to 'src/arch/msp430fr5994lp/driver/stdout.cc')
-rw-r--r-- | src/arch/msp430fr5994lp/driver/stdout.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/msp430fr5994lp/driver/stdout.cc b/src/arch/msp430fr5994lp/driver/stdout.cc index f3c219a..ccac54b 100644 --- a/src/arch/msp430fr5994lp/driver/stdout.cc +++ b/src/arch/msp430fr5994lp/driver/stdout.cc @@ -51,6 +51,15 @@ void StandardOutput::setup() UCA0CTLW0 &= ~UCSWRST; +#if 0 + if (CSCTL5 & LFXTOFFG) { + kout << "! LFXT fault" << endl; + } + if (CSCTL5 & HFXTOFFG) { + kout << "! HFXT fault" << endl; + } +#endif + //UCA0IE |= UCRXIE; } |