mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Wed Jul 01 09:45:11 2015 +0100
Revision:
579:53297373a894
Parent:
514:7668256dbe61
Synchronized with git revision d5b4d2ab9c47edb4dc5776e7177b0c2263459081

Full URL: https://github.com/mbedmicro/mbed/commit/d5b4d2ab9c47edb4dc5776e7177b0c2263459081/

Initial version of drivers for SAMR21

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 514:7668256dbe61 1 /*******************************************************************************
mbed_official 514:7668256dbe61 2 * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved.
mbed_official 514:7668256dbe61 3 *
mbed_official 514:7668256dbe61 4 * Permission is hereby granted, free of charge, to any person obtaining a
mbed_official 514:7668256dbe61 5 * copy of this software and associated documentation files (the "Software"),
mbed_official 514:7668256dbe61 6 * to deal in the Software without restriction, including without limitation
mbed_official 514:7668256dbe61 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
mbed_official 514:7668256dbe61 8 * and/or sell copies of the Software, and to permit persons to whom the
mbed_official 514:7668256dbe61 9 * Software is furnished to do so, subject to the following conditions:
mbed_official 514:7668256dbe61 10 *
mbed_official 514:7668256dbe61 11 * The above copyright notice and this permission notice shall be included
mbed_official 514:7668256dbe61 12 * in all copies or substantial portions of the Software.
mbed_official 514:7668256dbe61 13 *
mbed_official 514:7668256dbe61 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
mbed_official 514:7668256dbe61 15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
mbed_official 514:7668256dbe61 16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
mbed_official 514:7668256dbe61 17 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
mbed_official 514:7668256dbe61 18 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
mbed_official 514:7668256dbe61 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
mbed_official 514:7668256dbe61 20 * OTHER DEALINGS IN THE SOFTWARE.
mbed_official 514:7668256dbe61 21 *
mbed_official 514:7668256dbe61 22 * Except as contained in this notice, the name of Maxim Integrated
mbed_official 514:7668256dbe61 23 * Products, Inc. shall not be used except as stated in the Maxim Integrated
mbed_official 514:7668256dbe61 24 * Products, Inc. Branding Policy.
mbed_official 514:7668256dbe61 25 *
mbed_official 514:7668256dbe61 26 * The mere transfer of this software does not imply any licenses
mbed_official 514:7668256dbe61 27 * of trade secrets, proprietary technology, copyrights, patents,
mbed_official 514:7668256dbe61 28 * trademarks, maskwork rights, or any other form of intellectual
mbed_official 514:7668256dbe61 29 * property whatsoever. Maxim Integrated Products, Inc. retains all
mbed_official 514:7668256dbe61 30 * ownership rights.
mbed_official 514:7668256dbe61 31 *******************************************************************************
mbed_official 514:7668256dbe61 32 */
mbed_official 514:7668256dbe61 33
mbed_official 514:7668256dbe61 34 #ifndef _MXC_PWRMAN_REGS_H_
mbed_official 514:7668256dbe61 35 #define _MXC_PWRMAN_REGS_H_
mbed_official 514:7668256dbe61 36
mbed_official 514:7668256dbe61 37 #ifdef __cplusplus
mbed_official 514:7668256dbe61 38 extern "C" {
mbed_official 514:7668256dbe61 39 #endif
mbed_official 514:7668256dbe61 40
mbed_official 514:7668256dbe61 41 #include <stdint.h>
mbed_official 514:7668256dbe61 42
mbed_official 514:7668256dbe61 43 /**
mbed_official 514:7668256dbe61 44 * @file pwrman_regs.h
mbed_official 514:7668256dbe61 45 * @addtogroup pwrman PWRMAN
mbed_official 514:7668256dbe61 46 * @{
mbed_official 514:7668256dbe61 47 */
mbed_official 514:7668256dbe61 48
mbed_official 514:7668256dbe61 49 /**
mbed_official 514:7668256dbe61 50 * @brief Defines PAD Modes for Wake Up Detection.
mbed_official 514:7668256dbe61 51 */
mbed_official 514:7668256dbe61 52 typedef enum {
mbed_official 514:7668256dbe61 53 /** WUD Mode for Selected PAD = Clear/Activate */
mbed_official 514:7668256dbe61 54 MXC_E_PWRMAN_PAD_MODE_CLEAR_SET,
mbed_official 514:7668256dbe61 55 /** WUD Mode for Selected PAD = Set WUD Act Hi/Set WUD Act Lo */
mbed_official 514:7668256dbe61 56 MXC_E_PWRMAN_PAD_MODE_ACT_HI_LO,
mbed_official 514:7668256dbe61 57 /** WUD Mode for Selected PAD = Set Weak Hi/ Set Weak Lo */
mbed_official 514:7668256dbe61 58 MXC_E_PWRMAN_PAD_MODE_WEAK_HI_LO,
mbed_official 514:7668256dbe61 59 /** WUD Mode for Selected PAD = No pad state change */
mbed_official 514:7668256dbe61 60 MXC_E_PWRMAN_PAD_MODE_NONE
mbed_official 514:7668256dbe61 61 } mxc_pwrman_pad_mode_t;
mbed_official 514:7668256dbe61 62
mbed_official 514:7668256dbe61 63 /* Offset Register Description
mbed_official 514:7668256dbe61 64 ====== =========================================== */
mbed_official 514:7668256dbe61 65 typedef struct {
mbed_official 514:7668256dbe61 66 __IO uint32_t pwr_rst_ctrl; /* 0x0000 Power Reset Control and Status */
mbed_official 514:7668256dbe61 67 __IO uint32_t intfl; /* 0x0004 Interrupt Flags */
mbed_official 514:7668256dbe61 68 __IO uint32_t inten; /* 0x0008 Interrupt Enable/Disable Controls */
mbed_official 514:7668256dbe61 69 __IO uint32_t svm_events; /* 0x000C SVM Event Status Flags (read-only) */
mbed_official 514:7668256dbe61 70 __IO uint32_t wud_ctrl; /* 0x0010 Wake-Up Detect Control */
mbed_official 514:7668256dbe61 71 __IO uint32_t wud_pulse0; /* 0x0014 WUD Pulse To Mode Bit 0 */
mbed_official 514:7668256dbe61 72 __IO uint32_t wud_pulse1; /* 0x0018 WUD Pulse To Mode Bit 1 */
mbed_official 514:7668256dbe61 73 __I uint32_t rsv001C[5]; /* 0x001C */
mbed_official 514:7668256dbe61 74
mbed_official 514:7668256dbe61 75 __IO uint32_t wud_seen0; /* 0x0030 Wake-up Detect Status for P0/P1/P2/P3 */
mbed_official 514:7668256dbe61 76 __IO uint32_t wud_seen1; /* 0x0034 Wake-up Detect Status for P4/P5/P6/P7 */
mbed_official 514:7668256dbe61 77 __IO uint32_t die_type; /* 0x0038 Die ID Register (Device Type) */
mbed_official 514:7668256dbe61 78 __IO uint32_t base_part_num; /* 0x003C Base Part Number */
mbed_official 514:7668256dbe61 79 __IO uint32_t mask_id0; /* 0x0040 Mask ID Register 0 */
mbed_official 514:7668256dbe61 80 __IO uint32_t mask_id1; /* 0x0044 Mask ID Register 1 */
mbed_official 514:7668256dbe61 81 __IO uint32_t peripheral_reset; /* 0x0048 Peripheral Reset Control Register */
mbed_official 514:7668256dbe61 82 } mxc_pwrman_regs_t;
mbed_official 514:7668256dbe61 83
mbed_official 514:7668256dbe61 84 /*
mbed_official 514:7668256dbe61 85 Register offsets for module PWRMAN.
mbed_official 514:7668256dbe61 86 */
mbed_official 514:7668256dbe61 87 #define MXC_R_PWRMAN_OFFS_PWR_RST_CTRL ((uint32_t)0x00000000UL)
mbed_official 514:7668256dbe61 88 #define MXC_R_PWRMAN_OFFS_INTFL ((uint32_t)0x00000004UL)
mbed_official 514:7668256dbe61 89 #define MXC_R_PWRMAN_OFFS_INTEN ((uint32_t)0x00000008UL)
mbed_official 514:7668256dbe61 90 #define MXC_R_PWRMAN_OFFS_SVM_EVENTS ((uint32_t)0x0000000CUL)
mbed_official 514:7668256dbe61 91 #define MXC_R_PWRMAN_OFFS_WUD_CTRL ((uint32_t)0x00000010UL)
mbed_official 514:7668256dbe61 92 #define MXC_R_PWRMAN_OFFS_WUD_PULSE0 ((uint32_t)0x00000014UL)
mbed_official 514:7668256dbe61 93 #define MXC_R_PWRMAN_OFFS_WUD_PULSE1 ((uint32_t)0x00000018UL)
mbed_official 514:7668256dbe61 94 #define MXC_R_PWRMAN_OFFS_WUD_SEEN0 ((uint32_t)0x00000030UL)
mbed_official 514:7668256dbe61 95 #define MXC_R_PWRMAN_OFFS_WUD_SEEN1 ((uint32_t)0x00000034UL)
mbed_official 514:7668256dbe61 96 #define MXC_R_PWRMAN_OFFS_DIE_TYPE ((uint32_t)0x00000038UL)
mbed_official 514:7668256dbe61 97 #define MXC_R_PWRMAN_OFFS_BASE_PART_NUM ((uint32_t)0x0000003CUL)
mbed_official 514:7668256dbe61 98 #define MXC_R_PWRMAN_OFFS_MASK_ID0 ((uint32_t)0x00000040UL)
mbed_official 514:7668256dbe61 99 #define MXC_R_PWRMAN_OFFS_MASK_ID1 ((uint32_t)0x00000044UL)
mbed_official 514:7668256dbe61 100 #define MXC_R_PWRMAN_OFFS_PERIPHERAL_RESET ((uint32_t)0x00000048UL)
mbed_official 514:7668256dbe61 101
mbed_official 514:7668256dbe61 102 /*
mbed_official 514:7668256dbe61 103 Field positions and masks for module PWRMAN.
mbed_official 514:7668256dbe61 104 */
mbed_official 514:7668256dbe61 105 #define MXC_F_PWRMAN_PWR_RST_CTRL_FLASH_ACTIVE_POS 0
mbed_official 514:7668256dbe61 106 #define MXC_F_PWRMAN_PWR_RST_CTRL_FLASH_ACTIVE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_FLASH_ACTIVE_POS))
mbed_official 514:7668256dbe61 107 #define MXC_F_PWRMAN_PWR_RST_CTRL_SRAM_ACTIVE_POS 1
mbed_official 514:7668256dbe61 108 #define MXC_F_PWRMAN_PWR_RST_CTRL_SRAM_ACTIVE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_SRAM_ACTIVE_POS))
mbed_official 514:7668256dbe61 109 #define MXC_F_PWRMAN_PWR_RST_CTRL_AFE_POWERED_POS 2
mbed_official 514:7668256dbe61 110 #define MXC_F_PWRMAN_PWR_RST_CTRL_AFE_POWERED ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_AFE_POWERED_POS))
mbed_official 514:7668256dbe61 111 #define MXC_F_PWRMAN_PWR_RST_CTRL_IO_ACTIVE_POS 3
mbed_official 514:7668256dbe61 112 #define MXC_F_PWRMAN_PWR_RST_CTRL_IO_ACTIVE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_IO_ACTIVE_POS))
mbed_official 514:7668256dbe61 113 #define MXC_F_PWRMAN_PWR_RST_CTRL_USB_POWERED_POS 4
mbed_official 514:7668256dbe61 114 #define MXC_F_PWRMAN_PWR_RST_CTRL_USB_POWERED ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_USB_POWERED_POS))
mbed_official 514:7668256dbe61 115 #define MXC_F_PWRMAN_PWR_RST_CTRL_PULLUPS_ENABLED_POS 5
mbed_official 514:7668256dbe61 116 #define MXC_F_PWRMAN_PWR_RST_CTRL_PULLUPS_ENABLED ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_PULLUPS_ENABLED_POS))
mbed_official 514:7668256dbe61 117 #define MXC_F_PWRMAN_PWR_RST_CTRL_FIRMWARE_RESET_POS 8
mbed_official 514:7668256dbe61 118 #define MXC_F_PWRMAN_PWR_RST_CTRL_FIRMWARE_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_FIRMWARE_RESET_POS))
mbed_official 514:7668256dbe61 119 #define MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_RESET_POS 9
mbed_official 514:7668256dbe61 120 #define MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_RESET_POS))
mbed_official 514:7668256dbe61 121 #define MXC_F_PWRMAN_PWR_RST_CTRL_WUD_CLEAR_POS 12
mbed_official 514:7668256dbe61 122 #define MXC_F_PWRMAN_PWR_RST_CTRL_WUD_CLEAR ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_WUD_CLEAR_POS))
mbed_official 514:7668256dbe61 123 #define MXC_F_PWRMAN_PWR_RST_CTRL_TAMPER_DETECT_POS 16
mbed_official 514:7668256dbe61 124 #define MXC_F_PWRMAN_PWR_RST_CTRL_TAMPER_DETECT ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_TAMPER_DETECT_POS))
mbed_official 514:7668256dbe61 125 #define MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_SYSMAN_POS 17
mbed_official 514:7668256dbe61 126 #define MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_SYSMAN ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_SYSMAN_POS))
mbed_official 514:7668256dbe61 127 #define MXC_F_PWRMAN_PWR_RST_CTRL_WATCHDOG_TIMEOUT_POS 18
mbed_official 514:7668256dbe61 128 #define MXC_F_PWRMAN_PWR_RST_CTRL_WATCHDOG_TIMEOUT ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_WATCHDOG_TIMEOUT_POS))
mbed_official 514:7668256dbe61 129 #define MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_ARM_POS 19
mbed_official 514:7668256dbe61 130 #define MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_ARM ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_ARM_POS))
mbed_official 514:7668256dbe61 131 #define MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_POS 20
mbed_official 514:7668256dbe61 132 #define MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_POS))
mbed_official 514:7668256dbe61 133 #define MXC_F_PWRMAN_PWR_RST_CTRL_SRSTN_ASSERTION_POS 21
mbed_official 514:7668256dbe61 134 #define MXC_F_PWRMAN_PWR_RST_CTRL_SRSTN_ASSERTION ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_SRSTN_ASSERTION_POS))
mbed_official 514:7668256dbe61 135 #define MXC_F_PWRMAN_PWR_RST_CTRL_POR_POS 22
mbed_official 514:7668256dbe61 136 #define MXC_F_PWRMAN_PWR_RST_CTRL_POR ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_POR_POS))
mbed_official 514:7668256dbe61 137 #define MXC_F_PWRMAN_PWR_RST_CTRL_LOW_POWER_MODE_POS 31
mbed_official 514:7668256dbe61 138 #define MXC_F_PWRMAN_PWR_RST_CTRL_LOW_POWER_MODE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_LOW_POWER_MODE_POS))
mbed_official 514:7668256dbe61 139
mbed_official 514:7668256dbe61 140 #define MXC_F_PWRMAN_INTFL_V1_8_WARNING_POS 0
mbed_official 514:7668256dbe61 141 #define MXC_F_PWRMAN_INTFL_V1_8_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_V1_8_WARNING_POS))
mbed_official 514:7668256dbe61 142 #define MXC_F_PWRMAN_INTFL_V3_3_WARNING_POS 1
mbed_official 514:7668256dbe61 143 #define MXC_F_PWRMAN_INTFL_V3_3_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_V3_3_WARNING_POS))
mbed_official 514:7668256dbe61 144 #define MXC_F_PWRMAN_INTFL_RTC_WARNING_POS 2
mbed_official 514:7668256dbe61 145 #define MXC_F_PWRMAN_INTFL_RTC_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_RTC_WARNING_POS))
mbed_official 514:7668256dbe61 146 #define MXC_F_PWRMAN_INTFL_V3_3_RESET_POS 3
mbed_official 514:7668256dbe61 147 #define MXC_F_PWRMAN_INTFL_V3_3_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_V3_3_RESET_POS))
mbed_official 514:7668256dbe61 148 #define MXC_F_PWRMAN_INTFL_VDDA_WARNING_POS 4
mbed_official 514:7668256dbe61 149 #define MXC_F_PWRMAN_INTFL_VDDA_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_VDDA_WARNING_POS))
mbed_official 514:7668256dbe61 150
mbed_official 514:7668256dbe61 151 #define MXC_F_PWRMAN_INTEN_V1_8_WARNING_POS 0
mbed_official 514:7668256dbe61 152 #define MXC_F_PWRMAN_INTEN_V1_8_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_V1_8_WARNING_POS))
mbed_official 514:7668256dbe61 153 #define MXC_F_PWRMAN_INTEN_V3_3_WARNING_POS 1
mbed_official 514:7668256dbe61 154 #define MXC_F_PWRMAN_INTEN_V3_3_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_V3_3_WARNING_POS))
mbed_official 514:7668256dbe61 155 #define MXC_F_PWRMAN_INTEN_RTC_WARNING_POS 2
mbed_official 514:7668256dbe61 156 #define MXC_F_PWRMAN_INTEN_RTC_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_RTC_WARNING_POS))
mbed_official 514:7668256dbe61 157 #define MXC_F_PWRMAN_INTEN_V3_3_RESET_POS 3
mbed_official 514:7668256dbe61 158 #define MXC_F_PWRMAN_INTEN_V3_3_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_V3_3_RESET_POS))
mbed_official 514:7668256dbe61 159 #define MXC_F_PWRMAN_INTEN_VDDA_WARNING_POS 4
mbed_official 514:7668256dbe61 160 #define MXC_F_PWRMAN_INTEN_VDDA_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_VDDA_WARNING_POS))
mbed_official 514:7668256dbe61 161
mbed_official 514:7668256dbe61 162 #define MXC_F_PWRMAN_SVM_EVENTS_V1_8_WARNING_POS 0
mbed_official 514:7668256dbe61 163 #define MXC_F_PWRMAN_SVM_EVENTS_V1_8_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_V1_8_WARNING_POS))
mbed_official 514:7668256dbe61 164 #define MXC_F_PWRMAN_SVM_EVENTS_V3_3_WARNING_POS 1
mbed_official 514:7668256dbe61 165 #define MXC_F_PWRMAN_SVM_EVENTS_V3_3_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_V3_3_WARNING_POS))
mbed_official 514:7668256dbe61 166 #define MXC_F_PWRMAN_SVM_EVENTS_RTC_WARNING_POS 2
mbed_official 514:7668256dbe61 167 #define MXC_F_PWRMAN_SVM_EVENTS_RTC_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_RTC_WARNING_POS))
mbed_official 514:7668256dbe61 168 #define MXC_F_PWRMAN_SVM_EVENTS_V3_3_RESET_POS 3
mbed_official 514:7668256dbe61 169 #define MXC_F_PWRMAN_SVM_EVENTS_V3_3_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_V3_3_RESET_POS))
mbed_official 514:7668256dbe61 170 #define MXC_F_PWRMAN_SVM_EVENTS_VDDA_WARNING_POS 4
mbed_official 514:7668256dbe61 171 #define MXC_F_PWRMAN_SVM_EVENTS_VDDA_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_VDDA_WARNING_POS))
mbed_official 514:7668256dbe61 172
mbed_official 514:7668256dbe61 173 #define MXC_F_PWRMAN_WUD_CTRL_PAD_SELECT_POS 0
mbed_official 514:7668256dbe61 174 #define MXC_F_PWRMAN_WUD_CTRL_PAD_SELECT ((uint32_t)(0x0000003FUL << MXC_F_PWRMAN_WUD_CTRL_PAD_SELECT_POS))
mbed_official 514:7668256dbe61 175 #define MXC_F_PWRMAN_WUD_CTRL_PAD_MODE_POS 8
mbed_official 514:7668256dbe61 176 #define MXC_F_PWRMAN_WUD_CTRL_PAD_MODE ((uint32_t)(0x00000003UL << MXC_F_PWRMAN_WUD_CTRL_PAD_MODE_POS))
mbed_official 514:7668256dbe61 177 #define MXC_F_PWRMAN_WUD_CTRL_CLEAR_ALL_POS 12
mbed_official 514:7668256dbe61 178 #define MXC_F_PWRMAN_WUD_CTRL_CLEAR_ALL ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_CTRL_CLEAR_ALL_POS))
mbed_official 514:7668256dbe61 179
mbed_official 514:7668256dbe61 180 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO0_POS 0
mbed_official 514:7668256dbe61 181 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO0_POS))
mbed_official 514:7668256dbe61 182 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO1_POS 1
mbed_official 514:7668256dbe61 183 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO1_POS))
mbed_official 514:7668256dbe61 184 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO2_POS 2
mbed_official 514:7668256dbe61 185 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO2 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO2_POS))
mbed_official 514:7668256dbe61 186 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO3_POS 3
mbed_official 514:7668256dbe61 187 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO3 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO3_POS))
mbed_official 514:7668256dbe61 188 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO4_POS 4
mbed_official 514:7668256dbe61 189 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO4 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO4_POS))
mbed_official 514:7668256dbe61 190 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO5_POS 5
mbed_official 514:7668256dbe61 191 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO5 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO5_POS))
mbed_official 514:7668256dbe61 192 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO6_POS 6
mbed_official 514:7668256dbe61 193 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO6 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO6_POS))
mbed_official 514:7668256dbe61 194 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO7_POS 7
mbed_official 514:7668256dbe61 195 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO7 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO7_POS))
mbed_official 514:7668256dbe61 196 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO8_POS 8
mbed_official 514:7668256dbe61 197 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO8 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO8_POS))
mbed_official 514:7668256dbe61 198 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO9_POS 9
mbed_official 514:7668256dbe61 199 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO9 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO9_POS))
mbed_official 514:7668256dbe61 200 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO10_POS 10
mbed_official 514:7668256dbe61 201 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO10 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO10_POS))
mbed_official 514:7668256dbe61 202 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO11_POS 11
mbed_official 514:7668256dbe61 203 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO11 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO11_POS))
mbed_official 514:7668256dbe61 204 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO12_POS 12
mbed_official 514:7668256dbe61 205 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO12 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO12_POS))
mbed_official 514:7668256dbe61 206 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO13_POS 13
mbed_official 514:7668256dbe61 207 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO13 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO13_POS))
mbed_official 514:7668256dbe61 208 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO14_POS 14
mbed_official 514:7668256dbe61 209 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO14 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO14_POS))
mbed_official 514:7668256dbe61 210 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO15_POS 15
mbed_official 514:7668256dbe61 211 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO15 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO15_POS))
mbed_official 514:7668256dbe61 212 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO16_POS 16
mbed_official 514:7668256dbe61 213 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO16 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO16_POS))
mbed_official 514:7668256dbe61 214 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO17_POS 17
mbed_official 514:7668256dbe61 215 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO17 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO17_POS))
mbed_official 514:7668256dbe61 216 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO18_POS 18
mbed_official 514:7668256dbe61 217 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO18 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO18_POS))
mbed_official 514:7668256dbe61 218 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO19_POS 19
mbed_official 514:7668256dbe61 219 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO19 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO19_POS))
mbed_official 514:7668256dbe61 220 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO20_POS 20
mbed_official 514:7668256dbe61 221 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO20 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO20_POS))
mbed_official 514:7668256dbe61 222 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO21_POS 21
mbed_official 514:7668256dbe61 223 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO21 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO21_POS))
mbed_official 514:7668256dbe61 224 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO22_POS 22
mbed_official 514:7668256dbe61 225 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO22 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO22_POS))
mbed_official 514:7668256dbe61 226 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO23_POS 23
mbed_official 514:7668256dbe61 227 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO23 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO23_POS))
mbed_official 514:7668256dbe61 228 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO24_POS 24
mbed_official 514:7668256dbe61 229 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO24 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO24_POS))
mbed_official 514:7668256dbe61 230 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO25_POS 25
mbed_official 514:7668256dbe61 231 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO25 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO25_POS))
mbed_official 514:7668256dbe61 232 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO26_POS 26
mbed_official 514:7668256dbe61 233 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO26 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO26_POS))
mbed_official 514:7668256dbe61 234 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO27_POS 27
mbed_official 514:7668256dbe61 235 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO27 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO27_POS))
mbed_official 514:7668256dbe61 236 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO28_POS 28
mbed_official 514:7668256dbe61 237 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO28 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO28_POS))
mbed_official 514:7668256dbe61 238 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO29_POS 29
mbed_official 514:7668256dbe61 239 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO29 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO29_POS))
mbed_official 514:7668256dbe61 240 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO30_POS 30
mbed_official 514:7668256dbe61 241 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO30 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO30_POS))
mbed_official 514:7668256dbe61 242 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO31_POS 31
mbed_official 514:7668256dbe61 243 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO31 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO31_POS))
mbed_official 514:7668256dbe61 244
mbed_official 514:7668256dbe61 245 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO32_POS 0
mbed_official 514:7668256dbe61 246 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO32 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO32_POS))
mbed_official 514:7668256dbe61 247 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO33_POS 1
mbed_official 514:7668256dbe61 248 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO33 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO33_POS))
mbed_official 514:7668256dbe61 249 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO34_POS 2
mbed_official 514:7668256dbe61 250 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO34 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO34_POS))
mbed_official 514:7668256dbe61 251 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO35_POS 3
mbed_official 514:7668256dbe61 252 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO35 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO35_POS))
mbed_official 514:7668256dbe61 253 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO36_POS 4
mbed_official 514:7668256dbe61 254 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO36 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO36_POS))
mbed_official 514:7668256dbe61 255 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO37_POS 5
mbed_official 514:7668256dbe61 256 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO37 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO37_POS))
mbed_official 514:7668256dbe61 257 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO38_POS 6
mbed_official 514:7668256dbe61 258 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO38 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO38_POS))
mbed_official 514:7668256dbe61 259 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO39_POS 7
mbed_official 514:7668256dbe61 260 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO39 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO39_POS))
mbed_official 514:7668256dbe61 261 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO40_POS 8
mbed_official 514:7668256dbe61 262 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO40 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO40_POS))
mbed_official 514:7668256dbe61 263 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO41_POS 9
mbed_official 514:7668256dbe61 264 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO41 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO41_POS))
mbed_official 514:7668256dbe61 265 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO42_POS 10
mbed_official 514:7668256dbe61 266 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO42 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO42_POS))
mbed_official 514:7668256dbe61 267 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO43_POS 11
mbed_official 514:7668256dbe61 268 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO43 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO43_POS))
mbed_official 514:7668256dbe61 269 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO44_POS 12
mbed_official 514:7668256dbe61 270 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO44 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO44_POS))
mbed_official 514:7668256dbe61 271 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO45_POS 13
mbed_official 514:7668256dbe61 272 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO45 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO45_POS))
mbed_official 514:7668256dbe61 273 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO46_POS 14
mbed_official 514:7668256dbe61 274 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO46 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO46_POS))
mbed_official 514:7668256dbe61 275 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO47_POS 15
mbed_official 514:7668256dbe61 276 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO47 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO47_POS))
mbed_official 514:7668256dbe61 277 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO48_POS 16
mbed_official 514:7668256dbe61 278 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO48 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO48_POS))
mbed_official 514:7668256dbe61 279 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO49_POS 17
mbed_official 514:7668256dbe61 280 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO49 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO49_POS))
mbed_official 514:7668256dbe61 281 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO50_POS 18
mbed_official 514:7668256dbe61 282 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO50 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO50_POS))
mbed_official 514:7668256dbe61 283 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO51_POS 19
mbed_official 514:7668256dbe61 284 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO51 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO51_POS))
mbed_official 514:7668256dbe61 285 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO52_POS 20
mbed_official 514:7668256dbe61 286 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO52 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO52_POS))
mbed_official 514:7668256dbe61 287 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO53_POS 21
mbed_official 514:7668256dbe61 288 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO53 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO53_POS))
mbed_official 514:7668256dbe61 289 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO54_POS 22
mbed_official 514:7668256dbe61 290 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO54 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO54_POS))
mbed_official 514:7668256dbe61 291 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO55_POS 23
mbed_official 514:7668256dbe61 292 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO55 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO55_POS))
mbed_official 514:7668256dbe61 293 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO56_POS 24
mbed_official 514:7668256dbe61 294 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO56 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO56_POS))
mbed_official 514:7668256dbe61 295 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO57_POS 25
mbed_official 514:7668256dbe61 296 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO57 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO57_POS))
mbed_official 514:7668256dbe61 297 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO58_POS 26
mbed_official 514:7668256dbe61 298 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO58 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO58_POS))
mbed_official 514:7668256dbe61 299 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO59_POS 27
mbed_official 514:7668256dbe61 300 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO59 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO59_POS))
mbed_official 514:7668256dbe61 301 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO60_POS 28
mbed_official 514:7668256dbe61 302 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO60 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO60_POS))
mbed_official 514:7668256dbe61 303 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO61_POS 29
mbed_official 514:7668256dbe61 304 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO61 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO61_POS))
mbed_official 514:7668256dbe61 305 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO62_POS 30
mbed_official 514:7668256dbe61 306 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO62 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO62_POS))
mbed_official 514:7668256dbe61 307 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO63_POS 31
mbed_official 514:7668256dbe61 308 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO63 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO63_POS))
mbed_official 514:7668256dbe61 309
mbed_official 514:7668256dbe61 310 #define MXC_F_PWRMAN_BASE_PART_NUM_BASE_PART_NUMBER_POS 0
mbed_official 514:7668256dbe61 311 #define MXC_F_PWRMAN_BASE_PART_NUM_BASE_PART_NUMBER ((uint32_t)(0x0000FFFFUL << MXC_F_PWRMAN_BASE_PART_NUM_BASE_PART_NUMBER_POS))
mbed_official 514:7668256dbe61 312 #define MXC_F_PWRMAN_BASE_PART_NUM_PACKAGE_SELECT_POS 28
mbed_official 514:7668256dbe61 313 #define MXC_F_PWRMAN_BASE_PART_NUM_PACKAGE_SELECT ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_BASE_PART_NUM_PACKAGE_SELECT_POS))
mbed_official 514:7668256dbe61 314
mbed_official 514:7668256dbe61 315 #define MXC_F_PWRMAN_MASK_ID0_REVISION_ID_POS 0
mbed_official 514:7668256dbe61 316 #define MXC_F_PWRMAN_MASK_ID0_REVISION_ID ((uint32_t)(0x0000000FUL << MXC_F_PWRMAN_MASK_ID0_REVISION_ID_POS))
mbed_official 514:7668256dbe61 317 #define MXC_F_PWRMAN_MASK_ID0_MASK_ID_POS 4
mbed_official 514:7668256dbe61 318 #define MXC_F_PWRMAN_MASK_ID0_MASK_ID ((uint32_t)(0x0FFFFFFFUL << MXC_F_PWRMAN_MASK_ID0_MASK_ID_POS))
mbed_official 514:7668256dbe61 319
mbed_official 514:7668256dbe61 320 #define MXC_F_PWRMAN_MASK_ID1_MASK_ID_POS 0
mbed_official 514:7668256dbe61 321 #define MXC_F_PWRMAN_MASK_ID1_MASK_ID ((uint32_t)(0x7FFFFFFFUL << MXC_F_PWRMAN_MASK_ID1_MASK_ID_POS))
mbed_official 514:7668256dbe61 322 #define MXC_F_PWRMAN_MASK_ID1_MASK_ID_ENABLE_POS 31
mbed_official 514:7668256dbe61 323 #define MXC_F_PWRMAN_MASK_ID1_MASK_ID_ENABLE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_MASK_ID1_MASK_ID_ENABLE_POS))
mbed_official 514:7668256dbe61 324
mbed_official 514:7668256dbe61 325 #define MXC_F_PWRMAN_PERIPHERAL_RESET_UART0_POS 0
mbed_official 514:7668256dbe61 326 #define MXC_F_PWRMAN_PERIPHERAL_RESET_UART0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_UART0_POS))
mbed_official 514:7668256dbe61 327 #define MXC_F_PWRMAN_PERIPHERAL_RESET_UART1_POS 1
mbed_official 514:7668256dbe61 328 #define MXC_F_PWRMAN_PERIPHERAL_RESET_UART1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_UART1_POS))
mbed_official 514:7668256dbe61 329 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER0_POS 2
mbed_official 514:7668256dbe61 330 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER0_POS))
mbed_official 514:7668256dbe61 331 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER1_POS 3
mbed_official 514:7668256dbe61 332 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER1_POS))
mbed_official 514:7668256dbe61 333 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER2_POS 4
mbed_official 514:7668256dbe61 334 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER2 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER2_POS))
mbed_official 514:7668256dbe61 335 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER3_POS 5
mbed_official 514:7668256dbe61 336 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER3 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER3_POS))
mbed_official 514:7668256dbe61 337 #define MXC_F_PWRMAN_PERIPHERAL_RESET_WATCHDOG0_POS 6
mbed_official 514:7668256dbe61 338 #define MXC_F_PWRMAN_PERIPHERAL_RESET_WATCHDOG0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_WATCHDOG0_POS))
mbed_official 514:7668256dbe61 339 #define MXC_F_PWRMAN_PERIPHERAL_RESET_USB_POS 7
mbed_official 514:7668256dbe61 340 #define MXC_F_PWRMAN_PERIPHERAL_RESET_USB ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_USB_POS))
mbed_official 514:7668256dbe61 341 #define MXC_F_PWRMAN_PERIPHERAL_RESET_ADC_POS 8
mbed_official 514:7668256dbe61 342 #define MXC_F_PWRMAN_PERIPHERAL_RESET_ADC ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_ADC_POS))
mbed_official 514:7668256dbe61 343 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC0_POS 9
mbed_official 514:7668256dbe61 344 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DAC0_POS))
mbed_official 514:7668256dbe61 345 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC1_POS 10
mbed_official 514:7668256dbe61 346 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DAC1_POS))
mbed_official 514:7668256dbe61 347 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC2_POS 11
mbed_official 514:7668256dbe61 348 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC2 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DAC2_POS))
mbed_official 514:7668256dbe61 349 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC3_POS 12
mbed_official 514:7668256dbe61 350 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC3 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DAC3_POS))
mbed_official 514:7668256dbe61 351 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DMA_POS 13
mbed_official 514:7668256dbe61 352 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DMA ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DMA_POS))
mbed_official 514:7668256dbe61 353 #define MXC_F_PWRMAN_PERIPHERAL_RESET_LCD_POS 14
mbed_official 514:7668256dbe61 354 #define MXC_F_PWRMAN_PERIPHERAL_RESET_LCD ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_LCD_POS))
mbed_official 514:7668256dbe61 355 #define MXC_F_PWRMAN_PERIPHERAL_RESET_GPIO_POS 15
mbed_official 514:7668256dbe61 356 #define MXC_F_PWRMAN_PERIPHERAL_RESET_GPIO ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_GPIO_POS))
mbed_official 514:7668256dbe61 357 #define MXC_F_PWRMAN_PERIPHERAL_RESET_PULSE_TRAIN_POS 16
mbed_official 514:7668256dbe61 358 #define MXC_F_PWRMAN_PERIPHERAL_RESET_PULSE_TRAIN ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_PULSE_TRAIN_POS))
mbed_official 514:7668256dbe61 359 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI0_POS 17
mbed_official 514:7668256dbe61 360 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_SPI0_POS))
mbed_official 514:7668256dbe61 361 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI1_POS 18
mbed_official 514:7668256dbe61 362 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_SPI1_POS))
mbed_official 514:7668256dbe61 363 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI2_POS 19
mbed_official 514:7668256dbe61 364 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI2 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_SPI2_POS))
mbed_official 514:7668256dbe61 365 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM0_POS 20
mbed_official 514:7668256dbe61 366 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM0_POS))
mbed_official 514:7668256dbe61 367 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM1_POS 21
mbed_official 514:7668256dbe61 368 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM1_POS))
mbed_official 514:7668256dbe61 369 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CS_POS 22
mbed_official 514:7668256dbe61 370 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CS ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_I2CS_POS))
mbed_official 514:7668256dbe61 371 #define MXC_F_PWRMAN_PERIPHERAL_RESET_CRC_POS 23
mbed_official 514:7668256dbe61 372 #define MXC_F_PWRMAN_PERIPHERAL_RESET_CRC ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_CRC_POS))
mbed_official 514:7668256dbe61 373 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TPU_POS 24
mbed_official 514:7668256dbe61 374 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TPU ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TPU_POS))
mbed_official 514:7668256dbe61 375 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SSB_POS 25
mbed_official 514:7668256dbe61 376 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SSB ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_SSB_POS))
mbed_official 514:7668256dbe61 377
mbed_official 514:7668256dbe61 378 #ifdef __cplusplus
mbed_official 514:7668256dbe61 379 }
mbed_official 514:7668256dbe61 380 #endif
mbed_official 514:7668256dbe61 381
mbed_official 514:7668256dbe61 382 /**
mbed_official 514:7668256dbe61 383 * @}
mbed_official 514:7668256dbe61 384 */
mbed_official 514:7668256dbe61 385
mbed_official 514:7668256dbe61 386 #endif /* _MXC_PWRMAN_REGS_H_ */