Greg Steiert / pegasus_dev

Dependents:   blinky_max32630fthr

Committer:
switches
Date:
Fri Nov 11 20:59:50 2016 +0000
Revision:
0:5c4d7b2438d3
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
switches 0:5c4d7b2438d3 1 /*******************************************************************************
switches 0:5c4d7b2438d3 2 * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
switches 0:5c4d7b2438d3 3 *
switches 0:5c4d7b2438d3 4 * Permission is hereby granted, free of charge, to any person obtaining a
switches 0:5c4d7b2438d3 5 * copy of this software and associated documentation files (the "Software"),
switches 0:5c4d7b2438d3 6 * to deal in the Software without restriction, including without limitation
switches 0:5c4d7b2438d3 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
switches 0:5c4d7b2438d3 8 * and/or sell copies of the Software, and to permit persons to whom the
switches 0:5c4d7b2438d3 9 * Software is furnished to do so, subject to the following conditions:
switches 0:5c4d7b2438d3 10 *
switches 0:5c4d7b2438d3 11 * The above copyright notice and this permission notice shall be included
switches 0:5c4d7b2438d3 12 * in all copies or substantial portions of the Software.
switches 0:5c4d7b2438d3 13 *
switches 0:5c4d7b2438d3 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
switches 0:5c4d7b2438d3 15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
switches 0:5c4d7b2438d3 16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
switches 0:5c4d7b2438d3 17 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
switches 0:5c4d7b2438d3 18 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
switches 0:5c4d7b2438d3 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
switches 0:5c4d7b2438d3 20 * OTHER DEALINGS IN THE SOFTWARE.
switches 0:5c4d7b2438d3 21 *
switches 0:5c4d7b2438d3 22 * Except as contained in this notice, the name of Maxim Integrated
switches 0:5c4d7b2438d3 23 * Products, Inc. shall not be used except as stated in the Maxim Integrated
switches 0:5c4d7b2438d3 24 * Products, Inc. Branding Policy.
switches 0:5c4d7b2438d3 25 *
switches 0:5c4d7b2438d3 26 * The mere transfer of this software does not imply any licenses
switches 0:5c4d7b2438d3 27 * of trade secrets, proprietary technology, copyrights, patents,
switches 0:5c4d7b2438d3 28 * trademarks, maskwork rights, or any other form of intellectual
switches 0:5c4d7b2438d3 29 * property whatsoever. Maxim Integrated Products, Inc. retains all
switches 0:5c4d7b2438d3 30 * ownership rights.
switches 0:5c4d7b2438d3 31 ******************************************************************************/
switches 0:5c4d7b2438d3 32
switches 0:5c4d7b2438d3 33 #ifndef _MXC_SYSMAN_REGS_H_
switches 0:5c4d7b2438d3 34 #define _MXC_SYSMAN_REGS_H_
switches 0:5c4d7b2438d3 35
switches 0:5c4d7b2438d3 36 #ifdef __cplusplus
switches 0:5c4d7b2438d3 37 extern "C" {
switches 0:5c4d7b2438d3 38 #endif
switches 0:5c4d7b2438d3 39
switches 0:5c4d7b2438d3 40 #include <stdint.h>
switches 0:5c4d7b2438d3 41 #include "mxc_device.h"
switches 0:5c4d7b2438d3 42
switches 0:5c4d7b2438d3 43 /*
switches 0:5c4d7b2438d3 44 If types are not defined elsewhere (CMSIS) define them here
switches 0:5c4d7b2438d3 45 */
switches 0:5c4d7b2438d3 46 #ifndef __IO
switches 0:5c4d7b2438d3 47 #define __IO volatile
switches 0:5c4d7b2438d3 48 #endif
switches 0:5c4d7b2438d3 49 #ifndef __I
switches 0:5c4d7b2438d3 50 #define __I volatile const
switches 0:5c4d7b2438d3 51 #endif
switches 0:5c4d7b2438d3 52 #ifndef __O
switches 0:5c4d7b2438d3 53 #define __O volatile
switches 0:5c4d7b2438d3 54 #endif
switches 0:5c4d7b2438d3 55
switches 0:5c4d7b2438d3 56
switches 0:5c4d7b2438d3 57 /*
switches 0:5c4d7b2438d3 58 Typedefed structure(s) for module registers (per instance or section) with direct 32-bit
switches 0:5c4d7b2438d3 59 access to each register in module.
switches 0:5c4d7b2438d3 60 */
switches 0:5c4d7b2438d3 61
switches 0:5c4d7b2438d3 62 /* Offset Register Description
switches 0:5c4d7b2438d3 63 ============= ============================================================================ */
switches 0:5c4d7b2438d3 64 typedef struct {
switches 0:5c4d7b2438d3 65 __IO uint32_t pvt_monitor; /* 0x0000 System Clock Configuration */
switches 0:5c4d7b2438d3 66 } mxc_sysman_regs_t;
switches 0:5c4d7b2438d3 67
switches 0:5c4d7b2438d3 68
switches 0:5c4d7b2438d3 69 /*
switches 0:5c4d7b2438d3 70 Register offsets for module SYSMAN.
switches 0:5c4d7b2438d3 71 */
switches 0:5c4d7b2438d3 72
switches 0:5c4d7b2438d3 73 #define MXC_R_SYSMAN_OFFS_PVT_MONITOR ((uint32_t)0x00000000UL)
switches 0:5c4d7b2438d3 74
switches 0:5c4d7b2438d3 75
switches 0:5c4d7b2438d3 76 /*
switches 0:5c4d7b2438d3 77 Field positions and masks for module SYSMAN.
switches 0:5c4d7b2438d3 78 */
switches 0:5c4d7b2438d3 79
switches 0:5c4d7b2438d3 80 #define MXC_F_SYSMAN_PVT_MONITOR_CODE_POS 0
switches 0:5c4d7b2438d3 81 #define MXC_F_SYSMAN_PVT_MONITOR_CODE ((uint32_t)(0xFFFFFFFFUL << MXC_F_SYSMAN_PVT_MONITOR_CODE_POS))
switches 0:5c4d7b2438d3 82
switches 0:5c4d7b2438d3 83
switches 0:5c4d7b2438d3 84
switches 0:5c4d7b2438d3 85 #ifdef __cplusplus
switches 0:5c4d7b2438d3 86 }
switches 0:5c4d7b2438d3 87 #endif
switches 0:5c4d7b2438d3 88
switches 0:5c4d7b2438d3 89 #endif /* _MXC_SYSMAN_REGS_H_ */
switches 0:5c4d7b2438d3 90