YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
system_msp432p401r.h File Reference

CMSIS Cortex-M4F Device Peripheral Access Layer Header File for MSP432P401R. More...

#include <stdint.h>

Go to the source code of this file.

Functions

void SystemInit (void)
 Setup the microcontroller system.
 
void SystemCoreClockUpdate (void)
 Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
 

Variables

uint32_t SystemCoreClock
 

Detailed Description

CMSIS Cortex-M4F Device Peripheral Access Layer Header File for MSP432P401R.

Version
3.230
Date
12/06/17
Note
View configuration instructions embedded in comments

Definition in file system_msp432p401r.h.

Function Documentation

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void )
extern

Updates the SystemCoreClock with current core Clock retrieved from cpu registers.

Update SystemCoreClock variable

Parameters
none
Returns
none

Definition at line 352 of file system_msp432p401r.cpp.

◆ SystemInit()

void SystemInit ( void )
extern

Setup the microcontroller system.

Initialize the system

Parameters
none
Returns
none

Performs the following initialization steps:

  1. Enables the FPU
  2. Halts the WDT
  3. Enables all SRAM banks
  4. Sets up power __REGULATOR and VCORE
  5. Enable Flash wait states if needed
  6. Change MCLK to desired frequency
  7. Enable Flash read buffering

Definition at line 197 of file system_msp432p401r.cpp.

Variable Documentation

◆ SystemCoreClock

uint32_t SystemCoreClock
extern

System Clock Frequency (Core Clock)

Definition at line 171 of file system_msp432p401r.cpp.