Fixed #include directives and comments to be used in a more standardized way (that I could find online)

This commit is contained in:
William Miceli
2021-05-31 17:36:08 -04:00
parent ca5c5a5ae9
commit b5fc460e46
11 changed files with 35 additions and 50 deletions

View File

@@ -1,23 +1,5 @@
/*
* Clock Initialization Code MSP430F5438A
* Initialize Clock Source XT1 @ 32768 Hz
* Initialize Clock Source XT2 @ 20MHz
*
* Sunseeker Telemetry 2021
*
* Last modified October 2015 by Scott Haver
* Last modified May 2021 by B. Bazuin
*
* Main CLK : MCLK = XT2 = 20 MHz
* Sub-Main CLK : SMCLK = XT2/2 = 10 MHz
* Aux CLK : ACLK = XT1 = 32.768 kHz
*
*/
#include <msp430x54xa.h>
#include "SunseekerTelemetry2021.h"
#include "clock_init.h"
void clock_init(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer; `WDTPW` is the "WatchDog Timer PassWord", required for all `WDTCTL` operations