![]() |
MSPM0_ValvanoWare
1.0
ECE445L starter code
|
Provide functions that initialize the MSPM0 clock module. More...
Go to the source code of this file.
Macros | |
| #define | OSCFREQ32MHZ 0 |
| using OSCFREQ32MHZ Clock_Init will create 32 MHz bus clock | |
| #define | OSCFREQ4MHZ 1 |
| using OSCFREQ4MHZ Clock_Init will create 4 MHz bus clock | |
Functions | |
| void | Clock_Init80MHz (int enablePA14) |
| Initialize clock to 80 MHz. More... | |
| void | Clock_Init_HFXT_40_80MHz (int enablePA14) |
| Initialize clock to 80 MHz. More... | |
| void | Clock_Init40MHz (void) |
| Initialize clock to 40 MHz. More... | |
| void | Clock_Init_HFXT_16MHz (void) |
| Initialize clock to 16 MHz. More... | |
| void | Clock_Init_HFXT_16_80MHz (int enablePA14) |
| Initialize clock to 80 MHz. More... | |
| void | Clock_Init (uint32_t freq) |
| Initialize clock to 4 or 32 MHz. More... | |
| uint32_t | Clock_Freq (void) |
| Returns current clock bus frequency in Hz. More... | |
| void | Clock_Delay (uint32_t cycles) __attribute__((noinline)) |
| Software implementation of a busy-wait delay. More... | |
| void | Clock_Delay1ms (uint32_t ms) |
| Software implementation of a busy-wait delay. More... | |
| void | SysTick_Init (void) |
| SysTick for busy-wait delay. More... | |
| void | SysTick_Wait (uint32_t delay) |
| SysTick implementation of a busy-wait delay. More... | |
| void | SysTick_Wait10ms (uint32_t t) |
| SysTick implementation of a busy-wait delay. More... | |
| void | TimerG8_Init (uint32_t divider, uint32_t prescale) |
| SysTick for busy-wait delay. More... | |
Provide functions that initialize the MSPM0 clock module.
Reconfigure MSPM0 to run at 4, 32, 40 or 80 MHz