YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
system_msp432p401r.h
Go to the documentation of this file.
1/**************************************************************************/
11//*****************************************************************************
12//
13// Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
14//
15// Redistribution and use in source and binary forms, with or without
16// modification, are permitted provided that the following conditions
17// are met:
18//
19// Redistributions of source code must retain the above copyright
20// notice, this list of conditions and the following disclaimer.
21//
22// Redistributions in binary form must reproduce the above copyright
23// notice, this list of conditions and the following disclaimer in the
24// documentation and/or other materials provided with the
25// distribution.
26//
27// Neither the name of Texas Instruments Incorporated nor the names of
28// its contributors may be used to endorse or promote products derived
29// from this software without specific prior written permission.
30//
31// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
34// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
37// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
38// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
39// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
40// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
41// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42//
43//*****************************************************************************
44
45#ifndef SYSTEM_MSP432P401R_H
46#define SYSTEM_MSP432P401R_H
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
52#include <stdint.h>
53
54extern uint32_t SystemCoreClock;
74extern void SystemInit (void);
75
85extern void SystemCoreClockUpdate (void);
86
87#ifdef __cplusplus
88}
89#endif
90
91#endif /* SYSTEM_MSP432P401R_H */
92
void SystemInit(void)
Setup the microcontroller system.
uint32_t SystemCoreClock
void SystemCoreClockUpdate(void)
Updates the SystemCoreClock with current core Clock retrieved from cpu registers.